Struct QnnGpu_DataKernelArg_t

Struct Documentation

struct QnnGpu_DataKernelArg_t

A QNN GPU struct specifying a kernel argument corresponding to a plain old data. This struct is used only with the QNN_GPU_KERNEL_ARG_TYPE_DATA arg type.

Public Members

QnnGpu_DataKernelArgType_t type

Data type of the data.

int8_t qnnChar

Used with QNN_GPU_KERNEL_ARG_CL_TYPE_CHAR.

uint8_t qnnUChar

Used with QNN_GPU_KERNEL_ARG_CL_TYPE_UCHAR.

int16_t qnnShort

Used with QNN_GPU_KERNEL_ARG_CL_TYPE_SHORT.

uint16_t qnnUShort

Used with QNN_GPU_KERNEL_ARG_CL_TYPE_USHORT.

int32_t qnnInt

Used with QNN_GPU_KERNEL_ARG_CL_TYPE_INT.

uint32_t qnnUInt

Used with QNN_GPU_KERNEL_ARG_CL_TYPE_UINT.

int64_t qnnLong

Used with QNN_GPU_KERNEL_ARG_CL_TYPE_LONG.

uint64_t qnnULong

Used with QNN_GPU_KERNEL_ARG_CL_TYPE_ULONG.

float qnnFloat

Used with QNN_GPU_KERNEL_ARG_CL_TYPE_FLOAT.

double qnnDouble

Used with QNN_GPU_KERNEL_ARG_CL_TYPE_DOUBLE.

union QnnGpu_DataKernelArg_t::[anonymous] [anonymous]