Commit 1e71b62f authored by Francois Tessier's avatar Francois Tessier

Add prototype for data uncaching

parent 2a595815
......@@ -22,6 +22,7 @@ public:
virtual int memWrite ( void* srcBuffer, int64_t srcSize, int64_t offset, int destRank ) = 0;
virtual int memRead ( void* srcBuffer, int64_t srcSize, int64_t offset, int destRank ) = 0;
virtual int memFlush ( ) = 0;
virtual int memUncache ( ) = 0;
/************************/
/* |-- Utils */
......@@ -32,9 +33,10 @@ public:
/************************/
/* |-- Characteristics */
/************************/
virtual int64_t memBandwidth ( ) = 0;
virtual int64_t memLatency ( ) = 0;
virtual int64_t memCapacity ( ) = 0;
virtual int64_t memBandwidth ( ) = 0;
virtual int64_t memLatency ( ) = 0;
virtual int64_t memCapacity ( ) = 0;
virtual bool memPersistency ( ) = 0;
/* Temporary */
void *buffer_;
......@@ -48,6 +50,7 @@ protected:
MPI_Win RMAWin_;
MPI_File fileHandle_;
MPI_Request request_;
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