Introduction
Overview
TBE encapsulates unified hardware information APIs for different Ascend AI Processor versions, including the APIs for obtaining hardware information, setting SoC information, and determining whether an instruction is supported by the Ascend AI Processor, shielding the hardware differences across versions.
API List
API Name |
Description |
Definition File |
---|---|---|
Sets the Ascend AI Processor version for single-operator debugging using the UT, ST, and more. |
atc/python/site-packages/te/platform/cce_conf.py |
|
Checks whether an API is supported by the Ascend AI Processor. With the optional parameter dtype configured, this API checks whether the API of the dtype type is supported by the Ascend AI Processor. |
||
Obtains hardware information, including SOC_VERSION, AICORE_TYPE, CORE_NUM, and the size of each storage unit. |