device memory offset


On CUDA, with a pointer to a device memory block, p, an offset of p can be used in say cublas function, like p+m where m is an integer.

I wonder how to do this with device memory on opencl type cl_mem, a direct add like the above doesn’t seem to work.


I’ve post it again to cuda board…how do I delete this one?