jroose / clpp

Automatically exported from code.google.com/p/clpp
0 stars 1 forks source link

Sorting with cl_mem and 28,20,12,4 bits !!!! #5

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When sorting on 32,24,16,8 bits the results are in the _clBuffer_DataSet.
When sorting on 28,20,12,4 bits the results are in the _clBuffer_DataSetOut.

(It is due to the swap

How can you do to fix this and always have the results in '_clBuffer_DataSet' ?

Remarks : in order to avoid a copy ! of course a solution will be to copy back 
the datas !

Original issue reported on code.google.com by k...@polarlights.net on 25 Aug 2011 at 11:02