diff --git a/src/gpu/GridGenerator/grid/GridImp.h b/src/gpu/GridGenerator/grid/GridImp.h
index 158cba9e67650d65c20e63aa6a35d45f129e2baa..874202e898d4f78f3db782b65879bf87e6b170e8 100644
--- a/src/gpu/GridGenerator/grid/GridImp.h
+++ b/src/gpu/GridGenerator/grid/GridImp.h
@@ -55,7 +55,7 @@ class TriangularMeshDiscretizationStrategy;
 #ifdef __GNUC__
     #ifndef __clang__
         #pragma push
-        #pragma diag_suppress = 3156
+        #pragma nv_diag_suppress = 3156
     #endif
 #endif