Skip to content

Commit

Permalink
arch: Avoid deprecated compiler flags
Browse files Browse the repository at this point in the history
  • Loading branch information
FabioLuporini committed Oct 3, 2024
1 parent 2ae6822 commit c538b5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devito/arch/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ def __init_finalize__(self, **kwargs):
platform = kwargs.pop('platform', configuration['platform'])

if platform is NVIDIAX:
self.cflags.append('-gpu=pinned')
self.cflags.append('-gpu=mem:separate:pinnedalloc')
if language == 'openacc':
self.cflags.extend(['-mp', '-acc:gpu'])
elif language == 'openmp':
Expand Down

0 comments on commit c538b5f

Please sign in to comment.