Struct QnnGpu_Kernel_t

Struct Documentation

struct QnnGpu_Kernel_t

A QNN GPU struct specifying a kernel.

Public Members

const void *kernelSource

Kernel source code or binary.

size_t sourceLength

Length of kernel source/binary in bytes.

QnnGpu_KernelSourceType_t sourceType

Type of kernel source.

const char *buildOptions

Null terminated build options string used for kernel compilation.

size_t globalWorkDim

Rank of the globalWorkSizes.

size_t globalWorkSizes[3]

Global work sizes used by enqueuing the kernel.

size_t localWorkDim

Rank of the localWorkSizes.

size_t localWorkSizes[3]

Local work sizes used by enqueuing the kernel.

QnnGpu_KernelArg_t **args

Null-terminated array of kernel arguments in the order they appear in the kernel function.

const char *name

Null terminated name of the kernel.

uint32_t isDynamic

If non-zero, kernel will be enqueued during execute even if it is static.

QnnGpu_KernelTuningConfig_t **tuningConfigs

Null-terminated array to provide kernel tuning configurations.

void *reserved

Reserved field, must be null.