error: class or struct definition is missing : public thrust::detail::is_arithmetic<T>
When compiling vtk-m master f7477d4b with CUDA 12.6
[~/projects/vtk-m/build (master %=)]$ gcc --version
gcc (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[~/projects/vtk-m/build (master %=)]$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2024 NVIDIA Corporation
Built on Fri_Jun_14_16:34:21_PDT_2024
Cuda compilation tools, release 12.6, V12.6.20
Build cuda_12.6.r12.6/compiler.34431801_0
[~/projects/vtk-m/build (master %=)]$
I get the following error:
[~/projects/vtk-m/build (master %=)]$ ninja -j1
[1/730] Building CUDA object vtkm/cont/CMakeFiles/vtkm_cont.dir/CellLocatorUniformBins.cxx.o
FAILED: vtkm/cont/CMakeFiles/vtkm_cont.dir/CellLocatorUniformBins.cxx.o
/usr/local/cuda/bin/nvcc -forward-unknown-to-host-compiler -DVTKMDIY_DEBUG -DVTKMDIY_MPI_AS_LIB -DVTKMDIY_NO_THREADS -Dvtkm_cont_EXPORTS -I/home/local/KHQ/dan.lipsa/projects/vtk-m/vtkm/thirdparty/optionparser -I/home/local/KHQ/dan.lipsa/projects/vtk-m/vtkm/thirdparty/diy -I/home/local/KHQ/dan.lipsa/projects/vtk-m/vtkm/thirdparty/lcl/vtkmlcl -I/home/local/KHQ/dan.lipsa/projects/vtk-m/vtkm/thirdparty/loguru -I/home/local/KHQ/dan.lipsa/projects/vtk-m -I/home/local/KHQ/dan.lipsa/projects/vtk-m/build/include -isystem /home/local/KHQ/dan.lipsa/projects/vtk-m/vtkm/thirdparty/diy/vtkmdiy/include -isystem /home/local/KHQ/dan.lipsa/projects/vtk-m/build/vtkm/thirdparty/diy/vtkmdiy/include/vtkmdiy/mpi --generate-code=arch=compute_86,code=sm_86 -g -std=c++14 -Xcompiler=-fPIC -Xcompiler=-fvisibility=hidden -Xcompiler=-Wall,-Wcast-align,-Wpointer-arith,-Wformat,-Wformat-security,-Wshadow,-fno-common,-Wunused,-Wno-unknown-pragmas,-Wno-unused-local-typedefs,-Wno-unused-function,-Wchar-subscripts,-Wfloat-conversion,-Wodr -Xcudafe=--display_error_number -Xcompiler=-ffunction-sections --expt-relaxed-constexpr -MD -MT vtkm/cont/CMakeFiles/vtkm_cont.dir/CellLocatorUniformBins.cxx.o -MF vtkm/cont/CMakeFiles/vtkm_cont.dir/CellLocatorUniformBins.cxx.o.d -x cu -c /home/local/KHQ/dan.lipsa/projects/vtk-m/vtkm/cont/CellLocatorUniformBins.cxx -o vtkm/cont/CMakeFiles/vtkm_cont.dir/CellLocatorUniformBins.cxx.o
/home/local/KHQ/dan.lipsa/projects/vtk-m/vtkm/exec/cuda/internal/WrappedOperators.h(198): error: namespace "thrust::THRUST_200500_860_NS::detail" has no member class "is_arithmetic"
: public thrust::detail::is_arithmetic<T>
^
/home/local/KHQ/dan.lipsa/projects/vtk-m/vtkm/exec/cuda/internal/WrappedOperators.h(198): error: class or struct definition is missing
: public thrust::detail::is_arithmetic<T>
^
2 errors detected in the compilation of "/home/local/KHQ/dan.lipsa/projects/vtk-m/vtkm/cont/CellLocatorUniformBins.cxx".
ninja: build stopped: subcommand failed.