MetricsProfStart

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

x

Atlas inference product AI Core

x

Atlas inference product Vector Core

x

Atlas training product

x

Function Usage

You are advised to use the asc_prof_start API to start profiling. This API is applicable to both C and C++ programming.

Starts profiling. This API is used together with MetricsProfStop. When using Operator Tuning (msProf) for on-board operator tuning, you can call MetricsProfStart and MetricsProfStop before and after the code segment on the kernel to specify the scope of the code segment to be optimized.

Prototype

1
__aicore__ inline void MetricsProfStart()

Parameters

None

Returns

None

Restrictions

None

Example

1
MetricsProfStart();