Ignore:
Timestamp:
09/18/23 11:12:40 (10 months ago)
Author:
jderouillat
Message:

Memory cleaning of the EventScheduler? hierarchy triggered by the PoolRessource? cleaning through freeRessourceEventScheduler_. Cleaning of MPI_Window associated to services operated through the MpiGarbageCollector?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS3/trunk/src/manager/window_base.hpp

    r2547 r2570  
    2424    public : 
    2525 
    26     CWindowBase(MPI_Comm winComm, size_t bufferSize) 
    27     { 
    28       bufferSize_ = bufferSize ; 
    29       windowSize_ = bufferSize_ + OFFSET_BUFFER ; 
    30       MPI_Win_allocate(windowSize_, 1, MPI_INFO_NULL, winComm, &winBuffer_, &window_) ; 
    31       MPI_Aint& lock = *((MPI_Aint*)((char*)winBuffer_+OFFSET_LOCK)) ; 
    32       lock=0 ; 
    33       MPI_Win_lock_all(0, window_) ; 
    34       MPI_Barrier(winComm) ; 
    35     } 
     26    CWindowBase(MPI_Comm winComm, size_t bufferSize); 
    3627 
    3728    bool tryLockExclusive(int rank) 
     
    152143    { 
    153144      MPI_Win_unlock_all(window_); 
    154       MPI_Win_free(&window_) ; 
    155145    } 
    156146 
Note: See TracChangeset for help on using the changeset viewer.