2 Replies Latest reply on Jun 2, 2010 8:45 AM by pavandsp

    cl_khr_local_int32_base_atomics is unrecognized

    pavandsp

      Hi

      I am getting the following warning

       /tmp/OCLk3qzme.cl(3): warning: unrecognized #pragma
        #pragma OPENCL_EXTENSION cl_khr_local_int32_base_atomics     : enable

      for HD 5850 even thought ./CLinfo shows this extension .can i ignore this warning?

      I facing  problem in using atomics for local mem.The ERROR is shown below:

      error: can't find an instance for opencl builtin
                function
                atom_inc(temp_rhist+ *(output+(aa + 0)));
                ^

      /tmp/OCLoYcDyi.cl(114): error: can't find an instance for opencl builtin
                function
                atom_inc(temp_ghist+ *(output+(aa + 1)));
                ^

      /tmp/OCLoYcDyi.cl(115): error: can't find an instance for opencl builtin
                function
                atom_inc(temp_bhist+ *(output+(aa + 2)));

      Thanks

      Pavan