Overview
- Requirements for API calls: You must call the APIs related to the msproftx function between aclprofStart and aclprofStop. Use the aclprofCreateStamp/aclprofDestroyStamp, aclprofPush/aclprofPop, and aclprofRangeStart/aclprofRangeStop APIs in pairs.
- API call sequence: aclprofStart (specify device 0 and device 1) --> aclprofCreateStamp --> aclprofSetStampTraceMessage --> aclprofMark --> (aclprofPush --> aclprofPop) or (aclprofRangeStart --> aclprofRangeStop) --> aclprofDestroyStamp --> aclprofStop (consistent with the aclprofConfig data passed to aclprofStart)
Parent topic: Profiling AscendCL API for Extension