5 Replies Latest reply on Jul 22, 2011 1:12 PM by spectral

    Unable to fix a bug, '32 bits int' problems ?

    spectral

      Hi,

      I'm working on the CLPP OpenCL Library and can't find a bug, so I request some engineering support from the OpenCL Intel Team... of course if possible.

       

      The goal is to develop a radix-sort algorithm, the problem is that I'm unable to sort on 16 bits and 32 bits.
      (All others are working fine).
      So, my questions are :
      1) does the OpenCL 'int' representation is different than the 'Win 7 64 bits' int ? (I think no !)
      2) do I correctly generate random 'int' values for OpenCL ?
      3) can you help me to fix it ? I'm searching to fix it since a long time !
      BTW: The code is here http://code.google.com/p/clpp/
      You can change the "bit" sorting parameter in 'benchmark.cpp'
      Krys