PontiacGTX
Gawd
- Joined
- Aug 9, 2013
- Messages
- 808
Well happens that I was trying to pass a cl_mem object to a clSetKernelArg function and then to a clEnqueueReadBuffer but when the kernel ends the function skips 1 character from the "array" and leave it as default(0) but I wonder why does this happen?
kernel
https://gist.github.com/PontiacGTX/1fd84040c421d4b8fac2278e3d23255e
source
https://gist.github.com/PontiacGTX/dbe6c80390f0047df74e5013fd1d2e2e
kernel
https://gist.github.com/PontiacGTX/1fd84040c421d4b8fac2278e3d23255e
source
https://gist.github.com/PontiacGTX/dbe6c80390f0047df74e5013fd1d2e2e