• Xin Zhao's avatar
    Add "alloc_shm" info to MPI_Win_allocate. · 384d96b7
    Xin Zhao authored and Pavan Balaji's avatar Pavan Balaji committed
    Add "alloc_shm" to window's info arguments and initialize it to FALSE.
    In MPID_Win_allocate, if "alloc_shm" is set to true, call ALLOCATE_SHARED,
    otherwise call ALLOCATE.
    Free window memory only when SHM region is not allocated, therwise it is
    already freed in MPIDI_CH3I_SHM_Win_free.
    Signed-off-by: Pavan Balaji's avatarPavan Balaji <balaji@mcs.anl.gov>
mpid_rma.c 12.8 KB