Commit 440bd29f authored by Francois Tessier's avatar Francois Tessier
Browse files

NVRAM class members in the memory abstraction layer

parent 741c8c8a
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
typedef enum { DDR, HBM, SSD, HDD } mem_t; typedef enum { DDR, HBM, SSD, HDD, NVR } mem_t;
class iMemory { class iMemory {
public: public:
...@@ -49,6 +49,10 @@ protected: ...@@ -49,6 +49,10 @@ protected:
int64_t buffSize_; int64_t buffSize_;
MPI_Win RMAWin_; MPI_Win RMAWin_;
int fd_;
void *ptrMap_;
int mmapAllocatorRank_;
MPI_File fileHandle_; MPI_File fileHandle_;
MPI_Request request_; MPI_Request request_;
char fileName_[4096]; char fileName_[4096];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment