"AlgorithmsRadixSort" can't sort long properly, and also fails under CPU
GeoBIM2020 opened this issue · comments
Hao Li commented
It will give something like following result (negative is listed behind positive) if there are negative long in the array.
1,2,3,4,5,-5,-4,-3,-2,-1
It also throws error message if accelarator is CPU
Marcel Koester commented
The radix-sort algorithm that is currently implemented assumes unsigned values. We could add support for negative values in the future by taking the sign bit into account.