wmake/rules/linux64.*KNL: Improved optimization option for Intel MIC (Knights Landing) processor
Patch contributed by Paul Edwards, Intel.
This commit is contained in:
parent
e6057ee3ec
commit
f75e69b5f7
@ -5,7 +5,7 @@ c++WARN = -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-para
|
||||
# Suppress some warnings for flex++ and CGAL
|
||||
c++LESSWARN = -Wno-old-style-cast -Wno-unused-local-typedefs -Wno-array-bounds
|
||||
|
||||
CC = g++ -std=c++11 -m64 -march=knl -DvectorMachine -DKNL
|
||||
CC = g++ -std=c++11 -m64 -march=knl -DvectorMachine
|
||||
|
||||
include $(DEFAULT_RULES)/c++$(WM_COMPILE_OPTION)
|
||||
|
||||
|
@ -6,7 +6,7 @@ c++WARN = -Wall -Wextra -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invali
|
||||
# Suppress some warnings for flex++ and CGAL
|
||||
c++LESSWARN = -diag-disable 1224,2026,2305
|
||||
|
||||
CC = icpc -std=c++11 -fp-trap=common -fp-model precise -fp-speculation=safe -DKNL
|
||||
CC = icpc -std=c++11 -xmic-avx512 -DvectorMachine -fp-trap=common -fp-model precise -fp-speculation=safe
|
||||
|
||||
include $(DEFAULT_RULES)/c++$(WM_COMPILE_OPTION)
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
c++DBUG =
|
||||
c++OPT = -O3 -DvectorMachine -xmic-avx512
|
||||
c++OPT = -O3
|
||||
|
Loading…
Reference in New Issue
Block a user