From c280a913c4bcb84b26776176eaac1f734a79b174 Mon Sep 17 00:00:00 2001 From: eric bylaska Date: Mon, 29 Apr 2024 13:24:07 -0700 Subject: [PATCH] ...EJB --- Nwpw/nwpwlib/device/gdevices_cuda.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Nwpw/nwpwlib/device/gdevices_cuda.hpp b/Nwpw/nwpwlib/device/gdevices_cuda.hpp index 01cae28a..2ba79239 100644 --- a/Nwpw/nwpwlib/device/gdevices_cuda.hpp +++ b/Nwpw/nwpwlib/device/gdevices_cuda.hpp @@ -4,7 +4,7 @@ #include "blas.h" -#define NDEV_MAX 39 +#define NDEV_MAX0 100 #define DEBUG_IO false //#include "gdevice.hpp" @@ -209,6 +209,7 @@ class Gdevices { //double *dev_mem[NDEV_MAX]; // Global variables for managing memory + const int NDEV_MAX = NDEV_MAX0; std::vector dev_mem_large(NDEV_MAX); std::vector dev_mem(NDEV_MAX); std::vector ndsize_mem_large(NDEV_MAX, 0);