mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-28 22:25:32 -04:00
Toolchain: Pass -allow-unsupported-compiler to nvcc
This commit is contained in:
parent
fa5ede6011
commit
8fa5b1f9cf
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ CUDA_DFLAGS="-D__GRID_CUDA -D__DBCSR_ACC -D__PW_CUDA IF_DEBUG(-D__OFFLOAD_PROFIL
|
|||
if [ "${ENABLE_CUDA}" = __TRUE__ ] && [ "${GPUVER}" != no ]; then
|
||||
LIBS="${LIBS} IF_CUDA(${CUDA_LIBS}|)"
|
||||
DFLAGS="IF_CUDA(${CUDA_DFLAGS}|) ${DFLAGS}"
|
||||
NVFLAGS="-g -arch sm_${ARCH_NUM} -O3 -Xcompiler='-fopenmp' --std=c++11 \$(DFLAGS)"
|
||||
NVFLAGS="-g -arch sm_${ARCH_NUM} -O3 -allow-unsupported-compiler -Xcompiler='-fopenmp' --std=c++11 \$(DFLAGS)"
|
||||
CXXFLAGS+=" --std=c++11"
|
||||
check_command nvcc "cuda"
|
||||
check_lib -lcudart "cuda"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue