8 Replies Latest reply on May 25, 2016 3:22 PM by haahh

    clEnqueueSVMMemcpy does not copy

    haahh

      Hi,

       

      I try to copy host data to shared virtual memory buffer using clEnqueueSVMMemcpy (and the other way), but

      it does not work. It does not copy the data. Example in the attached file (ofc OpenCL 2.0 is required).

       

      Everything is fine if I use map/unmap operations instead of clEnqueueSVMMemcpy to copy data between host

      array and svm buffer.

       

      Environment:

      Device: AMD Radeon R9 380OS: Linux Mint 17.2 (3.16) x64
      Platform Version: OpenCL 2.0 AMD-APP (1800.11)
      Device OpenCL C version: OpenCL C 2.0
      AMD GPU Drivers: 15.9 (15.201.1151)