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 ba2bd68 commit 2cb010a
Showing 1 changed file with 2 additions and 2 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', '-mtune=native', '-mavx', '-fast'])
config['general_flags'].extend(['-O3', '-march=native', '-xHost', '-axCORE-AVX2,CORE-AVX512', '-mavx', '-fast'])
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', '-mtune=native', '-mavx', '-fast'])
config['general_flags'].extend(['-O3', '-march=native', '-xHost', '-axCORE-AVX2,CORE-AVX512', '-mavx', '-fast'])
print(json.dumps(config, indent=4),
file=open('pyccel_c_intel.json','w'))
shell: python
Expand Down

0 comments on commit 2cb010a

Please sign in to comment.