Skip to content

Commit

Permalink
added fastmath to gpu compilation flag
Browse files Browse the repository at this point in the history
  • Loading branch information
lxavier committed Aug 20, 2024
1 parent bc192c0 commit 4104c06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repos/c2sm/packages/icon/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ def configure_args(self):
if self.spec.variants['gpu'].value == 'openacc+cuda':
config_vars['FCFLAGS'].extend([
'-acc=verystrict', '-Minfo=accel,inline',
'-gpu=cc{0}'.format(
'-gpu=cc{0},fastmath'.format(
self.spec.variants['cuda_arch'].value[0])
])
elif self.compiler.name == 'cce':
Expand Down

0 comments on commit 4104c06

Please sign in to comment.