addFile - 2024.2 English

Vitis Libraries

Release Date
2024-11-29
Version
2024.2 English
ErrorCode addFile (
    std::unique_ptr <char[]> data,
    size_t size,
    const std::string& filename
    )

store file to managed SmartSSD cards. Copy data from CPU memory to SSD cards

Parameters:

data pointer to file content in memory. Before return, the block of storage will be released
size file size
filename file to store

Returns:

success or fail status