1 Reply Latest reply on Jul 28, 2013 10:47 PM by himanshu.gautam

    data transfer between cpu and device

    sajis997

      Hello forum,

       

      I guess There are two ways to transfer data between cpu and gpu in OpenCL.

       

      1. The Natural way - clEnqueueWriteBuffer() / clEnqueueReadBuffer()

       

      2. Map/Unmap way - clEnqueueMapBuffer()

       

      Which one is the better option for data transfer when large amount of data will be  involved?

       

      Thanks

      Sajjad