asc_prof_start

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

Starts profiling. This API is used together with asc_prof_stop. When using the msProf tool for on-board operator tuning, you can call asc_prof_start and asc_prof_stop before and after the kernel code segment to specify the range of the code segment to be optimized.

Prototype

1
__aicore__ inline void asc_prof_start()

Parameters

None

Returns

None

Restrictions

None

Examples

1
asc_prof_start();