Add OMP_TARGET_ definitions for other compilers

This commit is contained in:
James Price 2017-02-23 15:56:39 +00:00
parent d19cf1a5af
commit 2d21f69eb7

View File

@ -25,6 +25,9 @@ OMP_CLANG = -fopenmp=libomp
OMP = $(OMP_$(COMPILER)) OMP = $(OMP_$(COMPILER))
OMP_TARGET_ = OMP_TARGET_ =
OMP_TARGET_GNU = -fopenmp
OMP_TARGET_INTEL =
OMP_TARGET_CRAY =
OMP_TARGET_CLANG = -fopenmp=libomp -fopenmp-targets=nvptx64-nvidia-cuda OMP_TARGET_CLANG = -fopenmp=libomp -fopenmp-targets=nvptx64-nvidia-cuda
OMP_TARGET = $(OMP_TARGET_$(COMPILER)) OMP_TARGET = $(OMP_TARGET_$(COMPILER))