GetPlatformInfos

Applicable Products

All processors

Header File/Library File

  • Header file: #include <exe_graph/runtime/op_compile_context.h>
  • Library file: liblowering.so

Function Usage

Obtains the platform hardware information and optional supplementary information at compile time.

Prototype

1
ge::graphStatus GetPlatformInfos(fe::PlatFormInfos &platform_info, fe::OptionalInfos& optional_infos) const

Parameters

Parameter

Input/Output

Description

platform_info

Output

Stores the platform hardware information, including the SoC version and chip specifications.

optional_infos

Output

Stores optional supplementary information.

Returns

Parameter

Type

Description

-

graphStatus

GRAPH_SUCCESS(0): success.

Other values: failure.

Restrictions

None