aclrtKernelArgsAppendPlaceHolder
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function
Sets a placeholder for a placeholder parameter. The return value is the paramHandle placeholder.
If there are multiple parameters in the parameter list, append the parameters in sequence. After all parameters are appended, call aclrtKernelArgsGetPlaceHolderBuffer to obtain the memory address to which the paramHandle placeholder points.
Prototype
1 | aclError aclrtKernelArgsAppendPlaceHolder(aclrtArgsHandle argsHandle, aclrtParamHandle *paramHandle) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
argsHandle |
Input |
Handle to the parameter list. For the type definition, see aclrtArgsHandle. |
paramHandle |
Output |
Parameter handle. For the type definition, see aclrtParamHandle. |
Returns
0 on success; otherwise, failure. For details, see aclError.