Function: kernel_args_finalize
Applicable Products
- Ascend 950PR&950DT products: Supported
- Atlas A3 products: Supported
- Atlas A2 products: Supported
- Atlas 200I/500 A2 inference products: Supported
- Atlas inference products: Supported
- Atlas training products: Supported
Function
Indicates that parameter assembly is complete.
Prototype
-
C Prototype
aclError aclrtKernelArgsFinalize(aclrtArgsHandle argsHandle) -
Python Function
ret = acl.rt.kernel_args_finalize(args_handle)
Parameters
| Parameter | Description |
|---|---|
| args_handle | Int, handle of the parameter list. |
Return Values
| Return Value | Description |
|---|---|
| ret | Int. If 0 is returned, the operation is successful. If other values are returned, the operation fails. |