diff --git a/src/TNL/Cuda/LaunchHelpers.h b/src/TNL/Cuda/LaunchHelpers.h
index 6e5d3c9757601afaa5f9d9c2be45593298f7ab12..2b7113f43268864e8470ef3596a68b290c89cbf0 100644
--- a/src/TNL/Cuda/LaunchHelpers.h
+++ b/src/TNL/Cuda/LaunchHelpers.h
@@ -15,9 +15,9 @@
 namespace TNL {
 namespace Cuda {
 
-inline constexpr int getMaxGridSize()
+inline constexpr size_t getMaxGridSize()
 {
-   return 65535;
+   return 2147483647;//65535;
 }
 
 inline constexpr int getMaxBlockSize()