Introduction
Function
AOE APIs are used to enable AOE tuning.
The header file of the API is CANN software installation directory/cann/include/aoe/external/aoe.h.
API Restrictions
- API requirements: Call AoeCreateSession, AoeSetGeSession, AoeSetTuningGraph, AoeSetTuningGraphInput, AoeTuningGraph, and AoeDestroySession between AoeInitialize and AoeFinalize. Use the AoeInitialize/AoeFinalize and AoeCreateSession/AoeDestroySession APIs in pairs. Exceptions may occur if you do not use them in pairs.
- Call the APIs in the following sequence: AoeInitialize-->AoeCreateSession-->AoeSetGeSession (optional)-->AoeSetTuningGraph-->AoeSetTuningGraphInput(optional)--> AoeTuningGraph-->AoeDestroySession->AoeFinalize
Parent topic: AOE Tuning APIs