GEGetWarningMsg

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

Function Usage

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

This API can be called to print the warning message when you need to view the warning message after the program execution is complete. This API cannot be used together with GEGetWarningMsgV2. The recommended API is GEGetWarningMsgV2.

Prototype

1
std::string GEGetWarningMsg()

Parameters

None

Returns

Parameter

Type

Description

-

std::string

Warning message displayed during the execution.

Restrictions

None