diff --git a/devito/arch/compiler.py b/devito/arch/compiler.py index 33186ead9c..fbe160fe6f 100644 --- a/devito/arch/compiler.py +++ b/devito/arch/compiler.py @@ -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':