aclgrphProfDestroyConfig

Applicability

Product

Supported or Not

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas 200I/500 A2 inference products

x

Atlas inference products

Atlas training products

Header File/Library File

  • Header file: #include <ge/ge_prof.h>
  • Library file: libmsprofiler.so

Function Usage

Destroys the 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

  • aclgrphProfDestroyConfig must be used in pair with and 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.