Skip to content

Commit

Permalink
...EJB
Browse files Browse the repository at this point in the history
  • Loading branch information
ebylaska committed Apr 29, 2024
1 parent 7978f55 commit c280a91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Nwpw/nwpwlib/device/gdevices_cuda.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#include "blas.h"

#define NDEV_MAX 39
#define NDEV_MAX0 100
#define DEBUG_IO false

//#include "gdevice.hpp"
Expand Down Expand Up @@ -209,6 +209,7 @@ class Gdevices {
//double *dev_mem[NDEV_MAX];

// Global variables for managing memory
const int NDEV_MAX = NDEV_MAX0;
std::vector<double*> dev_mem_large(NDEV_MAX);
std::vector<double*> dev_mem(NDEV_MAX);
std::vector<size_t> ndsize_mem_large(NDEV_MAX, 0);
Expand Down

0 comments on commit c280a91

Please sign in to comment.