Loading init.c +2 −0 Original line number Diff line number Diff line Loading @@ -366,6 +366,8 @@ void allocate_memory() { gridss_real = (double*) calloc(size_of_grid/2,sizeof(double)); gridss_img = (double*) calloc(size_of_grid/2,sizeof(double)); numa_allocate_shared_windows( Me, size_of_grid*sizeof(double)*1.1, size_of_grid*sizeof(double)*1.1); // Create destination slab grid = (double*) calloc(size_of_grid,sizeof(double)); Loading numa.c +1 −1 Original line number Diff line number Diff line Loading @@ -75,7 +75,7 @@ int numa_init( int Rank, int Size, MPI_Comm *MYWORLD, map_t *Me ) } int numa_allocate_shared_windos( map_t *Me, MPI_Aint size, MPI_Aint host_size ) int numa_allocate_shared_windows( map_t *Me, MPI_Aint size, MPI_Aint host_size ) { int SHMEMl = Me->SHMEMl; Loading proto.h +1 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ /* numa.c */ int numa_init( int, int, MPI_Comm *, map_t *); int numa_allocate_shared_windos( map_t *, MPI_Aint, MPI_Aint ); int numa_allocate_shared_windows( map_t *, MPI_Aint, MPI_Aint ); int numa_shutdown( int, int, MPI_Comm *, map_t *); /* init.c */ Loading Loading
init.c +2 −0 Original line number Diff line number Diff line Loading @@ -366,6 +366,8 @@ void allocate_memory() { gridss_real = (double*) calloc(size_of_grid/2,sizeof(double)); gridss_img = (double*) calloc(size_of_grid/2,sizeof(double)); numa_allocate_shared_windows( Me, size_of_grid*sizeof(double)*1.1, size_of_grid*sizeof(double)*1.1); // Create destination slab grid = (double*) calloc(size_of_grid,sizeof(double)); Loading
numa.c +1 −1 Original line number Diff line number Diff line Loading @@ -75,7 +75,7 @@ int numa_init( int Rank, int Size, MPI_Comm *MYWORLD, map_t *Me ) } int numa_allocate_shared_windos( map_t *Me, MPI_Aint size, MPI_Aint host_size ) int numa_allocate_shared_windows( map_t *Me, MPI_Aint size, MPI_Aint host_size ) { int SHMEMl = Me->SHMEMl; Loading
proto.h +1 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ /* numa.c */ int numa_init( int, int, MPI_Comm *, map_t *); int numa_allocate_shared_windos( map_t *, MPI_Aint, MPI_Aint ); int numa_allocate_shared_windows( map_t *, MPI_Aint, MPI_Aint ); int numa_shutdown( int, int, MPI_Comm *, map_t *); /* init.c */ Loading