Changeset 2547 for XIOS3/trunk/src/buffer_client.hpp
- Timestamp:
- 08/29/23 17:24:04 (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS3/trunk/src/buffer_client.hpp
r2458 r2547 7 7 #include "mpi.hpp" 8 8 #include "cxios.hpp" 9 #include "window_dynamic.hpp" 9 10 10 11 namespace xios … … 15 16 static size_t maxRequestSize; 16 17 17 CClientBuffer(MPI_Comm intercomm, int serverRank, StdSize bufferSize, StdSize estimatedMaxEventSize);18 CClientBuffer(MPI_Comm intercomm, int serverRank, StdSize bufferSize, bool hasWindows); 18 19 ~CClientBuffer(); 19 20 // void createWindows(MPI_Comm oneSidedComm) ; … … 28 29 StdSize remain(void); 29 30 MPI_Aint getWinAddress(int numWindows) ; 31 MPI_Aint getWinBufferAddress(int numWindows) ; 30 32 void infoBuffer(void) ; 31 33 bool isNotifiedFinalized(void) ; … … 33 35 void fixBufferSize(size_t bufferSize) { newBufferSize_=bufferSize ; isGrowableBuffer_=false ; resizingBufferStep_=1 ;} 34 36 void fixBuffer(void) { isGrowableBuffer_=false ;} 35 void attachWindows( vector<MPI_Win>& windows) ;37 void attachWindows(MPI_Comm& winComm) ; 36 38 bool isAttachedWindows(void) { return isAttachedWindows_ ;} 37 39 private: … … 58 60 StdSize maxEventSize; 59 61 StdSize bufferSize; 60 const StdSize estimatedMaxEventSize;61 62 bool isFinalized_=false ; 62 63 … … 69 70 CBufferOut* retBuffer; 70 71 const MPI_Comm interComm; 71 std::vector< MPI_Win> windows_ ;72 bool hasWindows =false ;72 std::vector<CWindowDynamic*> windows_ ; 73 bool hasWindows_=false ; 73 74 bool isAttachedWindows_=false ; 74 75 double latency_=0 ;
Note: See TracChangeset
for help on using the changeset viewer.