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