sync_for_write - 1.4.1 English

Vitis AI User Guide (UG1414)

Document ID
UG1414
Release Date
2021-12-13
Version
1.4.1 English
Flush cache for writing after write. It is no-op in case get_location() returns DEVICE_ONLY or HOST_VIRT.

Prototype

void sync_for_write (uint64_t offset, size_t size) {};

Parameters

The following table lists the sync_for_write function arguments.
Table 1. sync_for_write Arguments
Type Name Description
uint64_t offset The start offset address
size_t size The data size

Returns

None.