Hi,
I am trying to develop opencl code on the intel's cpu, and I have a question on the memcpy using opencl.
Does the Opencl on CPU has a efficient way to copy a sub section of data from a large array into a new buffer?
e.g. for a array that saved the image data with sz 1000x1000, I want to cp a 19x19 section of the image into a new array and do some computing on the section. I could not find a efficient way to do that. Just copy the data one by one is extremly inefficient. And because of the alignment problem I can not use vectors to do the copy. Does anyone know the good practise for memcpy in opencl?
Thanks
zhuzxy