fix osx version

See also https://github.com/erwincoumans/experiments/issues/11
This commit is contained in:
a
2013-06-21 11:25:08 -07:00
parent 1d61530233
commit 34394526f8
2 changed files with 2 additions and 2 deletions

View File

@@ -587,7 +587,7 @@ void SortAndScatterKernel( __global const u32* restrict gSrc, __global const u32
sortData[i] = gSrc[ addr+i ];
#endif
sort4Bits1(sortData, startBit, lIdx, ldsSortData);
sort4Bits(sortData, startBit, lIdx, ldsSortData);
u32 keys[ELEMENTS_PER_WORK_ITEM];
for(int i=0; i<ELEMENTS_PER_WORK_ITEM; i++)

View File

@@ -589,7 +589,7 @@ static const char* radixSort32KernelsCL= \
" sortData[i] = gSrc[ addr+i ];\n"
"#endif\n"
"\n"
" sort4Bits1(sortData, startBit, lIdx, ldsSortData);\n"
" sort4Bits(sortData, startBit, lIdx, ldsSortData);\n"
"\n"
" u32 keys[ELEMENTS_PER_WORK_ITEM];\n"
" for(int i=0; i<ELEMENTS_PER_WORK_ITEM; i++)\n"