GEGetErrorMsgV3

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_api_v2.h>
  • Library file: libge_runner_v2.so

Function Usage

Obtains and clears the error messages returned by other failed API calls in the same process or thread.

When an error is reported during execution, you are advised to call this API to obtain the error message for fault locating.

Prototype

1
ge::AscendString GEGetErrorMsgV3()

Parameters

None

Returns

Parameter

Type

Description

-

ge::AscendString

Error message displayed during the execution.

Restrictions

None