Skip to content

Commit

Permalink
misc: fix flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
mloubout authored Aug 8, 2023
1 parent 511e59d commit 7caa50c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions devito/arch/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,10 +401,10 @@ def __init__(self, *args, **kwargs):
self.cflags.append('-mprefer-vector-width=512')

if platform in [POWER8, POWER9]:
# -march isn't supported on power architectures, is -mtune needed?
self.cflags = ['-mcpu=native'] + self.cflags
# -march isn't supported on power architectures, is -mtune needed?
self.cflags = ['-mcpu=native'] + self.cflags
else:
self.cflags = ['-march=native'] + self.cflags
self.cflags = ['-march=native'] + self.cflags

language = kwargs.pop('language', configuration['language'])
try:
Expand Down

0 comments on commit 7caa50c

Please sign in to comment.