GEGetWarningMsgV2
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
x |
|
√ |
|
√ |
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 is ABI-compatible (corresponding to D_GLIBCXX_USE_CXX11_ABI in the compilation file) and returns ge::AscendString. It is recommended and cannot be used together with GEGetWarningMsg.
Prototype
1 | ge::AscendString GEGetWarningMsgV2() |
Parameters
None
Returns
Parameter |
Type |
Description |
|---|---|---|
- |
ge::AscendString |
Warning message displayed during the execution. |
Restrictions
None