copy_to_host - 1.4.1 English

Vitis AI User Guide (UG1414)

Document ID
UG1414
Release Date
2021-12-13
Version
1.4.1 English
Copy data to the destination buffer.

Prototype

void copy_to_host(size_t batch_idx, void* buf, size_t size, size_t offset);

Parameters

The following table lists the copy_to_host function arguments.
Table 1. copy_to_host Arguments
Type Name Description
size_t batch_idx The batch index
void* buf Destination buffer start address
size_t size Data size to be copied
size_t offset The start offset to be copied

Returns

None.