fix osx version
See also https://github.com/erwincoumans/experiments/issues/11
This commit is contained in:
@@ -587,7 +587,7 @@ void SortAndScatterKernel( __global const u32* restrict gSrc, __global const u32
|
|||||||
sortData[i] = gSrc[ addr+i ];
|
sortData[i] = gSrc[ addr+i ];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
sort4Bits1(sortData, startBit, lIdx, ldsSortData);
|
sort4Bits(sortData, startBit, lIdx, ldsSortData);
|
||||||
|
|
||||||
u32 keys[ELEMENTS_PER_WORK_ITEM];
|
u32 keys[ELEMENTS_PER_WORK_ITEM];
|
||||||
for(int i=0; i<ELEMENTS_PER_WORK_ITEM; i++)
|
for(int i=0; i<ELEMENTS_PER_WORK_ITEM; i++)
|
||||||
|
|||||||
@@ -589,7 +589,7 @@ static const char* radixSort32KernelsCL= \
|
|||||||
" sortData[i] = gSrc[ addr+i ];\n"
|
" sortData[i] = gSrc[ addr+i ];\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"\n"
|
"\n"
|
||||||
" sort4Bits1(sortData, startBit, lIdx, ldsSortData);\n"
|
" sort4Bits(sortData, startBit, lIdx, ldsSortData);\n"
|
||||||
"\n"
|
"\n"
|
||||||
" u32 keys[ELEMENTS_PER_WORK_ITEM];\n"
|
" u32 keys[ELEMENTS_PER_WORK_ITEM];\n"
|
||||||
" for(int i=0; i<ELEMENTS_PER_WORK_ITEM; i++)\n"
|
" for(int i=0; i<ELEMENTS_PER_WORK_ITEM; i++)\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user