Applicable Products
Product
|
Supported (√/x)
|
Ascend 950PR/Ascend 950DT
|
√
|
Atlas A3 training products/Atlas A3 inference products
|
√
|
Atlas A2 training products/Atlas A2 inference products
|
√
|
Atlas training products
|
√
|
Atlas inference products
|
√
|
Atlas 200I/500 A2 inference products
|
√
|
Description
Creates data of the aclprofStepInfo type as step information.
Prototype
- C Prototype
| aclprofStepInfo* aclprofCreateStepInfo(void)
|
- Python Function
| info = acl.prof.create_step_info()
|
Return Values
Return Value
|
Description
|
info
|
Int, pointer address of the aclprofStepInfo type.
- Success: aclprofStepInfo type
- Failure: None
|
Restrictions
- Use the acl.prof.destroy_step_info API to destroy data of the aclprofStepInfo type. If data is not destroyed, the memory cannot be freed.
- Use this API together with the acl.prof.destroy_step_info API. Call acl.prof.create_step_info first and then acl.prof.destroy_step_info.
- The same tag can be configured only once for a single aclprofStepInfo object, to avoid profiling analysis errors.