This repository has been archived by the owner on Mar 21, 2024. It is now read-only.
error: use of undeclared identifier 'ProcessFloatMinusZero'
when compiling with clang
#334
Labels
When compiling
example/device/example_device_radix_sort.cu
withclang++-11 -DTHRUST_IGNORE_CUB_VERSION_CHECK -I../.. --cuda-gpu-arch=sm_61 -std=c++17 -x cuda -c example_device_radix_sort.cu
it errors:
clang
andgcc
use two phase name lookup socub/cub/block/radix_rank_sort_operations.cuh
Line 124 in 1877cc0
and
cub/cub/block/radix_rank_sort_operations.cuh
Line 143 in 1877cc0
should use
this->ProcessFloatMinusZero(key)
But somehow
nvcc
accpet the follwing code:The text was updated successfully, but these errors were encountered: