Function: kernel_args_finalize

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas training product

Atlas inference product

Atlas 200I/500 A2 inference product

Function

After all parameters are appended, this API is called to indicate that the parameter assembly is complete.

Prototype

  • C Prototype
    1
    aclError aclrtKernelArgsFinalize(aclrtArgsHandle argsHandle)
    
  • Python Function
    1
    ret = acl.rt.kernel_args_finalize(args_handle)
    

Parameters

Parameter

Description

args_handle

Int, handle of the parameter list.

Return Value

Returned Value

Description

ret

Int, 0 on success; else, failure.