Function: kernel_args_para_update
Applicability
Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function Usage
Updates the parameter value appended by the acl.rt.kernel_args_append API.
Prototype
- C Prototype
1aclError aclrtKernelArgsParaUpdate(aclrtArgsHandle argsHandle, aclrtParamHandle paramHandle, void *param, size_t paramSize)
- Python Function
1ret = acl.rt.kernel_args_para_update(args_handle, param_handle, param, param_size)
Parameter Description
Parameter |
Description |
|---|---|
args_handle |
Int, handle of the parameter list. |
param_handle |
Int, parameter handle. |
param |
Int, memory address of the parameter value to be appended. This is the host memory address. |
param_size |
Int, memory size, in bytes. |
Return Value Description
Return Value |
Description |
|---|---|
ret |
Int, 0 on success; else, failure. |
Parent topic: Kernel Loading and Execution