Public Member Functions |
|
| GtKernelArgument () |
| | Default constructor.
|
|
| GtKernelArgument (const char *argType, uint32_t argSize, uint32_t argOffset, uint32_t argIndex, GtAddrSpace argAddrSpace={}, GtMemoryAddrModel argAddrModel={}, GtAccessType argAccessType={}) |
| | Constructor.
|
| bool | IsValid () const |
| bool | IsExplicit () const |
| bool | IsPointer () const |
| bool | IsMemoryPointer () const |
Data Fields |
|
const char * | type = nullptr |
| | Name of the argument type, e.g. 'arg_byvalue', 'arg_bypointer', 'local_id', etc.
|
|
uint32_t | size = 0 |
| | Size of the argument value, in bytes.
|
|
uint32_t | offset = 0 |
| | Offset of the argument value in the kernel payload.
|
|
Uint32Validatable | index |
| | Index of the argument in the kernel payload. Valid for explicit arguments.
|
|
GtAddrSpace | addrSpace |
| | Address space referenced by the argument. Valid for IsPointer() arguments.
|
|
GtMemoryAddrModel | addrModel |
| | Address model of the memory space access. Valid for IsMemoryPointer() arguments.
|
|
GtAccessType | accessType |
| | Type of the access to the space referenced by the IsPointer() argument.
|
Descriptor of the kernel's payload argument.