Post
Topic
Board Beginners & Help
Re: further improved phatk OpenCL kernel (> 2% increase) for Phoenix - 2011-07-01
by
Diapolo
on 01/07/2011, 19:17:08 UTC
/tmp/OCLmC5ovs.cl(1): warning: ignore unrecognized OpenCL extension                  
  #pragma OPENCL __FAST_RELAXED_MATH__
                 ^
/tmp/OCLmC5ovs.cl(234): warning: integer conversion resulted in truncation
        Vals[3] = 0x198c7e2a2 + W[64];                        
                  ^

It could be, that the pragma command has wrong syntax, in Windows no OpenCL build log is shown so I didn´t see that warning. I will re-check the OpenCL man pages. For now you can safely remove the pragma line. -> Edit: Line should have no effect, so delete it. Is only for floating-point computations.

The second line seems to need a proper typecast perhaps a (u) is sufficient.

Dia