Function: destroy_exec_config_handle

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

Destroys data of the aclmdlExecConfigHandle type created by the acl.mdl.create_exec_config_handle call.

Prototype

  • C Prototype

    aclError aclmdlDestroyExecConfigHandle(const aclmdlExecConfigHandle *handle)
    
  • Python Function

    ret = acl.mdl.destroy_exec_config_handle(handle)
    

Parameters

Parameter Description
handle Int, pointer address of the aclmdlExecConfigHandle data type to be destroyed.

Return Values

Return Value Description
ret Int, error code: 0 on success; else, failure.