aclrtKernelArgsParaUpdate
Applicable Products
Product |
Supported |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function
Updates the value of a parameter appended by the aclrtKernelArgsAppend API.
Prototype
1 | aclError aclrtKernelArgsParaUpdate(aclrtArgsHandle argsHandle, aclrtParamHandle paramHandle, void *param, size_t paramSize) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
argsHandle |
Input |
Handle to the parameter list. For details about the type definition, see aclrtArgsHandle. |
paramHandle |
Input |
Parameter handle. For details about the type definition, see aclrtParamHandle. |
param |
Input |
Address of the memory where a parameter value is to be updated. This is a host memory address. |
paramSize |
Input |
Memory size, in bytes. |
Returns
0 on success; otherwise, failure. For details, see aclError.
Parent topic: Kernel Loading and Execution