Synopsis
uint32_t dpuGetTaskAffinity
(
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
The affinity mask bits over DPU cores on success, or 0 in case of any failure.
See Also
Include File
n2cube.h
Availability
Vitis AI v1.0