From c538b5ff52003874553f53bb49b2ef3fc29f81be Mon Sep 17 00:00:00 2001 From: Fabio Luporini Date: Thu, 3 Oct 2024 09:25:17 +0000 Subject: [PATCH] arch: Avoid deprecated compiler flags --- devito/arch/compiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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':