Commit 2a3db3e6 authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Re-introduce the USE_TARGET_OFFLOAD compilation flag

parent a4f3a8e9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -805,7 +805,7 @@ EOF
    fi
    if [ "x$result" = "x0" ]; then
	echo "yes"
	OFFLOADFLAGS=" -fcf-protection=check -foffload=nvptx-none=\"-O${CXX_OPT}${CXX_DBG} -fcf-protection=check -fopt-info -lm -latomic -lgomp\""
	OFFLOADFLAGS="-DUSE_TARGET_OFFLOAD -fcf-protection=check -foffload=nvptx-none=\"-O${CXX_OPT}${CXX_DBG} -fcf-protection=check -fopt-info -lm -latomic -lgomp\""
	if [ "x${OMPFLAGS}" = "x" ]; then
	    OFFLOADFLAGS="${OFFLOADFLAGS} -fopenmp"
	fi