Introduction

Overview

TBE encapsulates unified APIs related to hardware information for Ascend AI Processors, including the APIs used to obtain hardware information, set SoC information, and determine whether an instruction is supported by Ascend AI Processor, shielding the hardware differences across versions.

API List

Table 1 TBE platform APIs

API Name

Definition File

set_current_compile_soc_info

python/site-packages/tbe/common/platform/platform_info.py in the CANN software installation directory.

api_check_support

get_soc_spec