dpuEnableTaskProfile() - 1.1 English

Vitis AI User Guide (UG1414)

Document ID
UG1414
Release Date
2020-03-23
Version
1.1 English

Synopsis

int dpuEnableTaskProfile
(
DPUTask *task
    );

Arguments

task
The pointer to DPU Task.

Description

Retrieve a DPU Task's affinity over DPU cores. If the affinity is not specified, DPU task can be assigned to all available DPU cores by default. For example, the affinity is 0x7 if the target system holds 3 DPU cores.

Returns

Set DPU Task in profiling mode. Note that profiling functionality is available only for DPU Kernel generated by VAI_C in debug mode.

Include File

n2cube.h

Availability

Vitis AI v1.0