7 Replies Latest reply on Apr 18, 2009 9:03 PM by cuorematto

    How to increase the speed of data transfer

    licoah

      when I use this

      func(float* dataOut){

            stream out;

            kernelcalculation

           out.write(dataOut)

      }

      it took 0.409s.

      when I use cal

      func (float* dataOut)

      {

             CALmem localRes

            CALmem remoteRes

             calculations

             calMemCopy (copy data from localRes to remoteRes)

              memcpy (from remoteRes to dataOut)

      }

      it took 1.255s

      I don't how to increase this copy time in CAL.