aclrtKernelArgsAppendPlaceHolder
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Description
Sets a placeholder for a placeholder argument. The return value is the paramHandle placeholder.
If there are multiple arguments in the argument list, append the arguments in sequence. After all arguments are appended, call aclrtKernelArgsGetPlaceHolderBuffer to obtain the memory address to which the paramHandle placeholder points.
Prototype
aclError aclrtKernelArgsAppendPlaceHolder(aclrtArgsHandle argsHandle, aclrtParamHandle *paramHandle)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
argsHandle |
Input |
Handle to the argument list. |
paramHandle |
Output |
Parameter handle. |
Returns
0 on success; else, failure. For details, see aclError.
Parent topic: Kernel Loading and Execution