mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
wmake/rules/linux64.*KNL: Improved optimization option for Intel MIC (Knights Landing) processor
Patch contributed by Paul Edwards, Intel.
This commit is contained in:
@ -5,7 +5,7 @@ c++WARN = -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-para
|
|||||||
# Suppress some warnings for flex++ and CGAL
|
# Suppress some warnings for flex++ and CGAL
|
||||||
c++LESSWARN = -Wno-old-style-cast -Wno-unused-local-typedefs -Wno-array-bounds
|
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)
|
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
|
# Suppress some warnings for flex++ and CGAL
|
||||||
c++LESSWARN = -diag-disable 1224,2026,2305
|
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)
|
include $(DEFAULT_RULES)/c++$(WM_COMPILE_OPTION)
|
||||||
|
|
||||||
|
|||||||
@ -1,2 +1,2 @@
|
|||||||
c++DBUG =
|
c++DBUG =
|
||||||
c++OPT = -O3 -DvectorMachine -xmic-avx512
|
c++OPT = -O3
|
||||||
|
|||||||
Reference in New Issue
Block a user