texture memory

I want to transfer my data from host to texture memory can anyone provide code using openCl regarding this problem…

Take a look at the clEnqueueWriteImage function.