Closed dmikushin closed 8 months ago
This issue occurred as a result of the clash between the separate CUB & libcudacxx dependencies and the same headers provided by the CUDA Toolkit. So the solution is: do NOT use standalone CUB & libcudacxx for AMGX. If AMGX is not able to find them, do not try to provide them separately; instead fix AMGX to properly find CUB & libcudacxx in the CUDA Toolkit include directory.
By some reason, SM90-related constructs in
cuda_fp16.hpp
make the compilation to fail for me:I've tried CUDA 12.2 and 12.3, same issue. It occurs regardless of whether or not the 90 arch is actually requested for building. AMGX compilation only works with CUDA 11.8.0.
My distro is wsl-ubuntu 22.04, and GCC is 11.4.
It's quite surprising nobody else is getting this error anywhere. What am I missing?