-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
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_FLAGSis ignored when supplying an alternativeNVCCin the configuration environment. Addressed in backend/cuda: Use NVCC_FLAGS with user-provided NVCC #250.- CUDA_SM code generation flags from configure are not compatible with
clang++. Need to use the right flags based on the compiler used. - Building
.cufiles with clang/clang++ puts the compiler in C++ mode. CUDA kernels with the C_Booltype cannot be compiled since that type is not in C++. C++ has abooltype, but it is not guaranteed to be compatible, so we need some special handling to do the right thing. clang++warns that the-Xcompileroption used bycudalt.shis unrecognized. We should omit it when usingclang++.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed