You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A user reported being unable to build MPICH using clang++ as the CUDA compiler used to build Yaksa pmodels/mpich#6954. Noting down the issues encountered trying to build like this:
CUDA_SM code generation flags from configure are not compatible with clang++. Need to use the right flags based on the compiler used.
Building .cu files with clang/clang++ puts the compiler in C++ mode. CUDA kernels with the C _Bool type cannot be compiled since that type is not in C++. C++ has a bool type, but it is not guaranteed to be compatible, so we need some special handling to do the right thing.
clang++ warns that the -Xcompiler option used by cudalt.sh is unrecognized. We should omit it when using clang++.
The text was updated successfully, but these errors were encountered:
A user reported being unable to build MPICH using
clang++
as the CUDA compiler used to build Yaksa pmodels/mpich#6954. Noting down the issues encountered trying to build like this:NVCC_FLAGS
is ignored when supplying an alternativeNVCC
in the configuration environment. Addressed in backend/cuda: Use NVCC_FLAGS with user-provided NVCC #250.clang++
. Need to use the right flags based on the compiler used..cu
files with clang/clang++ puts the compiler in C++ mode. CUDA kernels with the C_Bool
type cannot be compiled since that type is not in C++. C++ has abool
type, but it is not guaranteed to be compatible, so we need some special handling to do the right thing.clang++
warns that the-Xcompiler
option used bycudalt.sh
is unrecognized. We should omit it when usingclang++
.The text was updated successfully, but these errors were encountered: