Introduction
Function
AOE APIs are used to enable AOE tuning.
The header file of the APIs is {install_path}/{version_dir}/${arch}/include/aoe/external/aoe.h. {install_path} indicates the installation path. The default path for the root user is /usr/local/Ascend. {version_dir} indicates the version number. ${arch} indicates the architecture.
API Constraints
- API call requirements: Call the AoeCreateSession, AoeSetGeSession, AoeSetTuningGraph, AoeSetTuningGraphInput, AoeTuningGraph, and AoeDestroySession APIs between the AoeInitialize and AoeFinalize APIs. Use AoeInitialize/AoeFinalize and AoeCreateSession/AoeDestroySession in pairs. Exceptions may occur if you do not use them in pairs.
- Recommended API call sequence: AoeInitialize -->AoeCreateSession -->AoeSetGeSession (optional) --> AoeSetTuningGraph -->AoeSetTuningGraphInput (optional) --> AoeTuningGraph -->AoeDestroySession ->AoeFinalize.
Parent topic: AOE Tuning APIs