2 Replies Latest reply on Dec 30, 2014 2:50 PM by boxerab

    What is the fastest way to transfer data between host and device on Cape Verde arch ?

    boxerab

      I have an HD 7700 GPU, on windows 7.

       

      Here is how I am currently managing my memory:

       

      1) I allocate a host buffer using new[] operator, aligned to page size (4096 bytes)

      2) I allocate a device buffer via clCreateBuffer, using the CL_MEM_READ_ONLY flag

      3) I transfer from host to device using clEnqueueWriteBuffer(...), with blocking set to CL_FALSE.

       

      I have found this method to be pretty fast. Can I do better?

       

      Thanks.