CLRX
1
An unofficial OpenCL extensions designed for Radeon GPUs
|
AMD OpenCL kernel argument description. More...
#include <AmdBinGen.h>
Static Public Member Functions | |
static AmdKernelArgInput | arg (const CString &argName, const CString &typeName, KernelArgType argType) |
create simple type argument | |
static AmdKernelArgInput | gptr (const CString &argName, const CString &typeName, KernelArgType ptrType, cxuint structSize=0, cxbyte ptrAccess=KARG_PTR_NORMAL, uint32_t resId=BINGEN_DEFAULT, bool used=true) |
create global pointer | |
static AmdKernelArgInput | cptr (const CString &argName, const CString &typeName, KernelArgType ptrType, cxuint structSize=0, cxbyte ptrAccess=KARG_PTR_NORMAL, size_t constSpaceSize=0, uint32_t resId=BINGEN_DEFAULT, bool used=true) |
create constant pointer | |
static AmdKernelArgInput | lptr (const CString &argName, const CString &typeName, KernelArgType ptrType, cxuint structSize=0) |
create local pointer | |
static AmdKernelArgInput | img (const CString &argName, const CString &typeName, KernelArgType imgType, cxbyte ptrAccess=KARG_PTR_READ_ONLY, uint32_t resId=BINGEN_DEFAULT, bool used=true) |
create image | |
Public Attributes | |
CString | argName |
argument name | |
CString | typeName |
name of type of argument | |
KernelArgType | argType |
argument type | |
KernelArgType | pointerType |
pointer type | |
KernelPtrSpace | ptrSpace |
pointer space for argument if argument is pointer or image | |
cxbyte | ptrAccess |
pointer access flags | |
cxuint | structSize |
structure size (if structure) | |
size_t | constSpaceSize |
constant space size | |
uint32_t | resId |
uavid or cbid or counterId | |
cxbyte | used |
flags that indicate how kernel uses this argument (1 - used) | |
AMD OpenCL kernel argument description.