aclgrphProfDestroyConfig

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

x

Atlas inference product

Atlas training product

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

  • aclgrphProfCreateConfig must be called as a pair with, and before, aclgrphProfDestroyConfig.
  • 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.