Synopsis
int dpuBindInputTensorBaseAddress
(
DPUTask *task,
int8_t *addrVirt,
int8_t *addrPhy
)
Arguments
- task
- The pointer to DPU Task.
- addrVirt
- addrPhy
- The physical address of DPU output memory buffer, which holds all the boundary output tensors of DPU task.The virtual address of DPU output memory buffer, which holds all the boundry output tensors of DPU task.
Description
Bind the specified base physical and virtual addresses of input memory buffer to DPU task.
Note: It can only be used for
DPU kernel compiled by VAI_C under split IO mode.
Returns
0 on success, or report error in case of any failure.
See Also
Include File
n2cube.h
Availability
Vitis AI v1.0