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.
Thanks Micah,
But then how can I generate cl_int random values ?
Does the way I do is correct ? Or how can I convert 'int' to 'cl_int' ?
The way I do is here (method makeRandomInt32Vector) :
http://code.google.com/p/clpp/source/browse/trunk/src/clpp/benchmark.cpp
Notes that in my version I now use 'cl_int' and it is the same problem 😞
You can download the last SVN version of CLPP from here:
Just change PARAM_SORT_BITS to "32" (or 8,16,24) and run it.
You will see, the application will print in the console that the sorting has failed.
It is quite simple to reproduce. Tell me if you need something else ?
Thanks