nou

behaviour of CL_MEM_USE_HOST_PTR

Discussion created by nou on Mar 9, 2010
Latest reply on Mar 10, 2010 by Illusio

if i create memory buffer with CL_MEM_USE_HOST_PTR i  was exceptet that after that i execute kernel which write into this buffer whis writes will be reflected into host memory. but appereantly it is not the case.

is my understanding of CL_MEM_USE_HOST_PTR or CL_MEM_ALLOC_HOST_PTR wrong? specification is unclearly about this.

i found that i should map/unmap this buffer but then use of CL_MEM_USE_HOST_PTR is meaningless

Outcomes