aclgrphProfDestroyConfig
Applicable Products
Ascend 950PR /Ascend 950DT : supportedAtlas A3 training products /Atlas A3 inference products : supportedAtlas A2 training products /Atlas A2 inference products : supportedAtlas 200I/500 A2 inference products : not supportedAtlas inference products : supportedAtlas training products : supported
Header File/Library File
- Header file: #include <ge/ge_prof.h>
- Library file: libmsprofiler.so
Function Usage
Destroys a profiling configuration.
Prototype
1 | Status aclgrphProfDestroyConfig(aclgrphProfConfig *profiler_config) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
profiler_config |
Input |
Pointer to a struct for a profiling configuration. |
Returns
Parameter |
Type |
Description |
|---|---|---|
- |
Status |
SUCCESS: success. Other values: failure. |
Restrictions
- This API must be used with aclgrphProfCreateConfig and must be called after aclgrphProfCreateConfig.
- The profiling configuration to be destroyed must be created by aclgrphProfCreateConfig.
- If the profiling configuration fails to be destroyed, check whether the configuration arguments are proper.
Parent topic: aclgrph APIs