7. Unmap the buffer object - 2024.1 English

Vitis Tutorials: Vitis Platform Creation

Document ID
XD101
Release Date
2024-05-30
Version
2024.1 English

OLD

OCL_CHECK(err, err = q.enqueueUnmapMemObject(buffer_a, ptr_a));
OCL_CHECK(err, err = q.enqueueUnmapMemObject(buffer_b, ptr_b));
OCL_CHECK(err, err = q.enqueueUnmapMemObject(buffer_result, ptr_result));

NEW

OCL_CHECK(err, err = q.enqueueUnmapMemObject(buffer_a, ptr_a));
OCL_CHECK(err, err = q.enqueueUnmapMemObject(buffer_b, ptr_b));
OCL_CHECK(err, err = q.enqueueUnmapMemObject(buffer_result, ptr_result));

q.enqueueUnmapMemObject(buffer_waveout , ptr_waveout);

Copyright © 2020–2023 Advanced Micro Devices, Inc

Terms and Conditions