aclprofStart

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

Function

Starts profiling.

Call aclprofStart as required during model execution. Only profile data after the API call is collected.

Prototype

1
aclError aclprofStart(const aclprofConfig *profilerConfig)

Parameters

Parameter

Input/Output

Description

profilerConfig

Input

Profiling configuration. For details about the type definition, see aclprofConfig.

Call aclprofCreateConfig to create data of the aclprofConfig type in advance.

Returns

0 on success; else, failure. For details, see aclError.

Restrictions

aclprofStart must be used in pair with and be called before aclprofStop.