Skip to content

Commit

Permalink
Try different flags
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilyBourne committed Sep 12, 2023
1 parent ffe121f commit 4332d6b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/actions/generate_pyccel_config/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ runs:
file=open('pyccel_c_gnu.json','w'))
# Fortran Intel
config = json.load(open('pyccel_fortran_intel.json'))
config['general_flags'].extend(['-O3', '-march=native', '-xHost', '-mavx', '-fast'])
config['general_flags'].extend(['-O3', '-xHost', '-mavx', '-fast', '-unroll', '-vec', '-simd'])
print(json.dumps(config, indent=4),
# C Intel
file=open('pyccel_fortran_intel.json','w'))
config = json.load(open('pyccel_c_intel.json'))
config['general_flags'].extend(['-O3', '-march=native', '-xHost', '-mavx', '-fast'])
config['general_flags'].extend(['-O3', '-xHost', '-mavx', '-fast', '-unroll', '-vec', '-simd'])
print(json.dumps(config, indent=4),
file=open('pyccel_c_intel.json','w'))
shell: python
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/pythran_intel.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ undefs=
include_dirs=
libs=
library_dirs=
cflags=-std=c++11 -fno-math-errno -fvisibility=hidden -fno-wrapv -Wno-unused-function -Wno-int-in-bool-context -Wno-unknown-warning-option -O3 -march=native -mtune=native -mavx -fast
cflags=-std=c++11 -fno-math-errno -fvisibility=hidden -fno-wrapv -Wno-unused-function -Wno-int-in-bool-context -Wno-unknown-warning-option -O3 -xHost -mavx -fast -unroll -vec -simd
ldflags=-fvisibility=hidden -Wl,-strip-all
blas=blas
CC=icc
Expand Down

0 comments on commit 4332d6b

Please sign in to comment.