Please refer to the sample code in utests/runtime_use_host_ptr_buffer.cpp and
kernels/runtime_use_host_ptr_buffer.cl
To avoid internal copy, it requires libdrm version >= 2.4.58 and linux kernel
version >= 3.16
From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of Gao,
San
Hi, alls,
I want to use CL_MEM_USE_HOST_PTR to create a buffer object which shares host
memory, so the changes to the elements in kernel can be used by host program.
But the result is that, I have changed the element in kernel, but the element
in host program has not changed. I don't know why