Applicable Products
Product
|
Supported (√/x)
|
Ascend 950PR/Ascend 950DT
|
√
|
Atlas A3 training products/Atlas A3 inference products
|
√
|
Atlas A2 training products/Atlas A2 inference products
|
√
|
Atlas training products
|
√
|
Atlas inference products
|
√
|
Atlas 200I/500 A2 inference products
|
√
|
Prototype
- C Prototype
| aclError aclprofDestroyConfig(const aclprofConfig *profilerConfig)
|
- Python Function
| ret = acl.prof.destroy_config(profiler_config)
|
Parameters
Parameter
|
Description
|
profiler_config
|
Int, pointer address of the aclprofConfig type to be destroyed.
|
Return Values
Return Value
|
Description
|
ret
|
Int, error code.
|
Restrictions
- Use this API together with the acl.prof.create_config API. Call acl.prof.create_config first and then aclprofDestroyConfig.
- If the same aclprofConfig pointer repeatedly calls the acl.prof.destroy_config API, an error indicating that the memory is freed repeatedly is reported.