0 Replies Latest reply on Jun 21, 2011 12:58 PM by divij

    clEnqueueWriteBuffer doubt!

      How to copy data from host to GPU?

      When I want to copy data from my host to the GPU, what is the difference between the two approaches:

      1.  clEnqueueWriteBuffer

      2. clCreateBuffer with CL_MEM_COPY_HOST_PTR and non-null 3rd parameter (0th based index)