File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/mpid/ch4/shm/ipc/xpmem Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -52,9 +52,8 @@ int MPIDI_XPMEM_init_world(void)
5252
5353 /* Initialize segmap for every local processes */
5454 MPIDI_XPMEMI_global .segmaps = NULL ;
55- MPIR_CHKPMEM_MALLOC (MPIDI_XPMEMI_global .segmaps , MPIDI_XPMEMI_segmap_t * ,
56- sizeof (MPIDI_XPMEMI_segmap_t ) * MPIR_Process .local_size ,
57- mpi_errno , "xpmem segmaps" , MPL_MEM_SHM );
55+ MPIR_CHKPMEM_MALLOC (MPIDI_XPMEMI_global .segmaps ,
56+ sizeof (MPIDI_XPMEMI_segmap_t ) * MPIR_Process .local_size , MPL_MEM_SHM );
5857 for (i = 0 ; i < MPIR_Process .local_size ; i ++ ) {
5958 MPIDU_Init_shm_get (i , sizeof (xpmem_segid_t ), & MPIDI_XPMEMI_global .segmaps [i ].remote_segid );
6059 MPIR_ERR_CHKANDJUMP (MPIDI_XPMEMI_global .segmaps [i ].remote_segid == -1 , mpi_errno ,
You can’t perform that action at this time.
0 commit comments