2 Replies Latest reply on Nov 19, 2010 7:43 PM by kalyfabdalla

    Error in pragma OpenCL extensions

    kalyfabdalla
      Error with opencl extensions using GPU device

      My cards is a ATI Radeon 4350. Last version of ATI Stream SDK.

      When I put the pragma code, occur a error in BuildProgram.

       


       

      #pragma OPENCL EXTENSION cl_khr_global_int32_base_atomics : enable

      __kernel void function(__global float* a){

      //...

      }

       


       

      With CPU device there isn't problem. I use the code with CUDA without problems. I don't know where is the error.