dpuBindInputTensorBaseAddress() - 1.4 English

Vitis AI User Guide (UG1414)

Document ID
UG1414
Release Date
2021-07-22
Version
1.4 English

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.

Include File

n2cube.h

Availability

Vitis AI v1.0