0 Replies Latest reply on Jun 17, 2009 9:20 AM by Ruslan

    How most quickly to copy data from system memory to graphic memory?

    Ruslan

      How most quickly to copy data from system memory to graphic memory?
      I use CAL. The standard approach which is described in the user guide, very slow: 500 Mb/sek - Host to GPU, and 100 Mb/sek - GPU to host.
      At copying in format CAL_FORMAT_FLOAT32_4 of data of 200 Mb time of performance of functions the following:
      1) Host to GPU:
      Time of calResMap=141 ms
      Time of copy from *dst to *fdata=78 ms
      Time calResUnmap=140 ms
      copyTime =359 ms
      host to gpu copy speed =534.818942 Mb/sec
      2) GPU to host:
      Time calResMap=125 ms
      Time of copy from *fdata to *dst=1657 ms
      Time calResUnmap=140 ms
      copyTime =1922 ms
      gpu to host copy speed =99.895942 Mb/sec
      check == true
      3) host to host:
      copyTime =93 ms
      speed of copy from *src to *dst in system RAM=2064.516129 Mb/sec