1 Reply Latest reply on Dec 25, 2009 11:22 AM by genaganna

    How to accelerate data transfering between CPU and GPU.

    codeboycjy

      Hi:
           I've tried to pass 4M float from CPU to GPU through PCIe 2.0 port.

           It costs 36 ms on CAL , while only 11 ms on CUDA. So is there any way to improve the performance?

           i remember there is something called memory pinning on brook+, what's under the hood? Could i use memory pinning on CAL too?

          thanks for ur ideas

        • How to accelerate data transfering between CPU and GPU.
          genaganna

           

          Originally posted by: codeboycjy Hi:      I've tried to pass 4M float from CPU to GPU through PCIe 2.0 port.

           

               It costs 36 ms on CAL , while only 11 ms on CUDA. So is there any way to improve the performance?

           

               i remember there is something called memory pinning on brook+, what's under the hood? Could i use memory pinning on CAL too?

           

              thanks for ur ideas

           

          There is a sample on memory pinning in samples.