Skip to content

Commit

Permalink
only do GPU flag for IFX
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffhammond committed Aug 10, 2022
1 parent de49723 commit 8fe956a
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions src/fortran/make.inc.oneapi
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
FC := ifx
FCFLAGS := -std18 -warn all -Ofast
FC := ifort
FCFLAGS = -std18
FCFLAGS += -Ofast -xHOST
FCFLAGS += -qopt-streaming-stores=always
FCFLAGS += -qopt-zmm-usage=low

DOCONCURRENT_FLAG = -parallel
ARRAY_FLAG = -parallel
DOCONCURRENT_FLAG = -parallel -qopenmp
ARRAY_FLAG = -parallel -qopenmp
OPENMP_FLAG = -qopenmp
ifeq ($(FC),ifx)
OPENMP_FLAG += -fopenmp-targets=spir64
endif
OPENACC_FLAG =
CUDA_FLAG =
SEQUENTIAL_FLAG =
Expand Down

0 comments on commit 8fe956a

Please sign in to comment.