mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-09 23:45:36 +00:00
pass OpenMP flag to host compiler
This commit is contained in:
parent
fdd9b14e82
commit
0c1efa5235
@ -287,6 +287,9 @@ case ${CXX} in
|
||||
CXX="nvcc -x cu "
|
||||
CXXLD="nvcc -link"
|
||||
CXXFLAGS="$CXXFLAGS -Xcompiler -fno-strict-aliasing -Xcompiler -Wno-unusable-partial-specialization --expt-extended-lambda --expt-relaxed-constexpr"
|
||||
if test $ac_openmp = yes; then
|
||||
CXXFLAGS="$CXXFLAGS -Xcompiler -fopenmp"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
CXXLD=${CXX}
|
||||
|
Loading…
Reference in New Issue
Block a user