Fixup to build for Intel Xe GPU OpenMP support

This commit is contained in:
Omar Khalil Ahmed 2023-11-27 05:43:47 -08:00 committed by edoapra
parent 2291962e8d
commit a3fc85f744
No known key found for this signature in database
GPG key ID: 9E6A0B70826967BA

View file

@ -2440,7 +2440,7 @@ ifneq ($(TARGET),LINUX)
ifdef USE_IFX
FOPTIONS += -fiopenmp
ifdef USE_OFFLOAD
FOPTIONS += -fopenmp-targets=spirv64
FOPTIONS += -fopenmp-targets=spir64
ifdef USE_IMAX_OPENMP_TRPDRV
DEFINES += -DUSE_IMAX_OPENMP_TRPDRV
endif