Skip to content

Commit 0953356

Browse files
committed
Update oneMKL/monte_carlo_european_opt/makefile with exceptions on win
1 parent 2ce0512 commit 0953356

File tree

1 file changed

+1
-1
lines changed
  • Libraries/oneMKL/monte_carlo_european_opt

1 file changed

+1
-1
lines changed

Libraries/oneMKL/monte_carlo_european_opt/makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ all: montecarlo
1212
INIT_ON_HOST=/DINIT_ON_HOST=1
1313
!endif
1414

15-
DPCPP_OPTS=/I"$(MKLROOT)\include" /DMKL_ILP64 $(GENERATOR) -fsycl $(INIT_ON_HOST) /Qmkl /Qmkl-sycl-impl=rng -lOpenCL
15+
DPCPP_OPTS=/I"$(MKLROOT)\include" /DMKL_ILP64 $(GENERATOR) /EHsc -fsycl $(INIT_ON_HOST) /Qmkl /Qmkl-sycl-impl=rng -lOpenCL
1616

1717
montecarlo: src/montecarlo_main.cpp
1818
icx src/montecarlo_main.cpp /omontecarlo.exe $(DPCPP_OPTS)

0 commit comments

Comments
 (0)