/dports/net/mpich/mpich-3.4.3/src/mpi/coll/ibcast/ |
H A D | ibcast_intra_sched_scatter_ring_allgather.c | 33 int scatter_size, curr_size; in MPIR_Ibcast_intra_sched_scatter_ring_allgather() local 80 scatter_size = (nbytes + comm_size - 1) / comm_size; /* ceiling division */ in MPIR_Ibcast_intra_sched_scatter_ring_allgather() 84 curr_size = MPL_MIN(scatter_size, (nbytes - (rank * scatter_size))); in MPIR_Ibcast_intra_sched_scatter_ring_allgather() 102 left_count = MPL_MIN(scatter_size, (nbytes - rel_jnext * scatter_size)); in MPIR_Ibcast_intra_sched_scatter_ring_allgather() 105 left_disp = rel_jnext * scatter_size; in MPIR_Ibcast_intra_sched_scatter_ring_allgather() 106 right_count = MPL_MIN(scatter_size, (nbytes - rel_j * scatter_size)); in MPIR_Ibcast_intra_sched_scatter_ring_allgather() 109 right_disp = rel_j * scatter_size; in MPIR_Ibcast_intra_sched_scatter_ring_allgather()
|
H A D | ibcast_intra_sched_scatter_recursive_doubling_allgather.c | 57 int scatter_size, nbytes, curr_size, incoming_count; in MPIR_Ibcast_intra_sched_scatter_recursive_doubling_allgather() local 115 scatter_size = (nbytes + comm_size - 1) / comm_size; /* ceiling division */ in MPIR_Ibcast_intra_sched_scatter_recursive_doubling_allgather() 119 curr_size = MPL_MIN(scatter_size, (nbytes - (relative_rank * scatter_size))); in MPIR_Ibcast_intra_sched_scatter_recursive_doubling_allgather() 147 send_offset = my_tree_root * scatter_size; in MPIR_Ibcast_intra_sched_scatter_recursive_doubling_allgather() 148 recv_offset = dst_tree_root * scatter_size; in MPIR_Ibcast_intra_sched_scatter_recursive_doubling_allgather() 154 incoming_count = MPL_MIN((nbytes - recv_offset), (mask * scatter_size)); in MPIR_Ibcast_intra_sched_scatter_recursive_doubling_allgather() 204 offset = scatter_size * (my_tree_root + mask); in MPIR_Ibcast_intra_sched_scatter_recursive_doubling_allgather() 236 incoming_count = MPL_MIN((nbytes - offset), (mask * scatter_size)); in MPIR_Ibcast_intra_sched_scatter_recursive_doubling_allgather()
|
H A D | ibcast_utils.c | 71 int scatter_size, curr_size, recv_size, send_size; in MPII_Iscatter_for_bcast_sched() local 87 scatter_size = (nbytes + comm_size - 1) / comm_size; /* ceiling division */ in MPII_Iscatter_for_bcast_sched() 99 recv_size = nbytes - (relative_rank * scatter_size); in MPII_Iscatter_for_bcast_sched() 106 mpi_errno = MPIR_Sched_recv(((char *) tmp_buf + relative_rank * scatter_size), in MPII_Iscatter_for_bcast_sched() 123 send_size = curr_size - scatter_size * mask; in MPII_Iscatter_for_bcast_sched() 131 MPIR_Sched_send(((char *) tmp_buf + scatter_size * (relative_rank + mask)), in MPII_Iscatter_for_bcast_sched()
|
/dports/net/mpich/mpich-3.4.3/src/mpi/coll/bcast/ |
H A D | bcast_intra_scatter_ring_allgather.c | 33 MPI_Aint scatter_size; in MPIR_Bcast_intra_scatter_ring_allgather() local 76 scatter_size = (nbytes + comm_size - 1) / comm_size; /* ceiling division */ in MPIR_Bcast_intra_scatter_ring_allgather() 92 curr_size = MPL_MIN(scatter_size, in MPIR_Bcast_intra_scatter_ring_allgather() 93 nbytes - ((rank - root + comm_size) % comm_size) * scatter_size); in MPIR_Bcast_intra_scatter_ring_allgather() 107 left_count = MPL_MIN(scatter_size, (nbytes - rel_jnext * scatter_size)); in MPIR_Bcast_intra_scatter_ring_allgather() 110 left_disp = rel_jnext * scatter_size; in MPIR_Bcast_intra_scatter_ring_allgather() 111 right_count = MPL_MIN(scatter_size, (nbytes - rel_j * scatter_size)); in MPIR_Bcast_intra_scatter_ring_allgather() 114 right_disp = rel_j * scatter_size; in MPIR_Bcast_intra_scatter_ring_allgather()
|
H A D | bcast_utils.c | 31 int scatter_size, recv_size = 0; in MPII_Scatter_for_bcast() local 50 scatter_size = (nbytes + comm_size - 1) / comm_size; /* ceiling division */ in MPII_Scatter_for_bcast() 60 recv_size = nbytes - relative_rank * scatter_size; in MPII_Scatter_for_bcast() 69 relative_rank * scatter_size), in MPII_Scatter_for_bcast() 97 send_size = curr_size - scatter_size * mask; in MPII_Scatter_for_bcast() 105 scatter_size * (relative_rank + mask)), in MPII_Scatter_for_bcast()
|
H A D | bcast_intra_scatter_recursive_doubling_allgather.c | 40 int scatter_size; in MPIR_Bcast_intra_scatter_recursive_doubling_allgather() local 91 scatter_size = (nbytes + comm_size - 1) / comm_size; /* ceiling division */ in MPIR_Bcast_intra_scatter_recursive_doubling_allgather() 106 curr_size = MPL_MIN(scatter_size, (nbytes - (relative_rank * scatter_size))); in MPIR_Bcast_intra_scatter_recursive_doubling_allgather() 131 send_offset = my_tree_root * scatter_size; in MPIR_Bcast_intra_scatter_recursive_doubling_allgather() 132 recv_offset = dst_tree_root * scatter_size; in MPIR_Bcast_intra_scatter_recursive_doubling_allgather() 185 offset = scatter_size * (my_tree_root + mask); in MPIR_Bcast_intra_scatter_recursive_doubling_allgather()
|
/dports/net/mpich2/mpich2-1.5/src/mpi/coll/ |
H A D | ibcast.c | 197 int scatter_size, curr_size, recv_size, send_size; in MPIR_Iscatter_for_bcast() local 249 send_size = curr_size - scatter_size * mask; in MPIR_Iscatter_for_bcast() 319 int scatter_size, nbytes, curr_size, incoming_count; in MPIR_Ibcast_scatter_rec_dbl_allgather() local 382 curr_size = MPIU_MIN(scatter_size, (nbytes - (relative_rank * scatter_size))); in MPIR_Ibcast_scatter_rec_dbl_allgather() 408 send_offset = my_tree_root * scatter_size; in MPIR_Ibcast_scatter_rec_dbl_allgather() 409 recv_offset = dst_tree_root * scatter_size; in MPIR_Ibcast_scatter_rec_dbl_allgather() 560 int scatter_size; in MPIR_Ibcast_scatter_ring_allgather() local 626 left_count = MPIR_MIN(scatter_size, (nbytes - rel_jnext * scatter_size)); in MPIR_Ibcast_scatter_ring_allgather() 629 left_disp = rel_jnext * scatter_size; in MPIR_Ibcast_scatter_ring_allgather() 630 right_count = MPIR_MIN(scatter_size, (nbytes - rel_j * scatter_size)); in MPIR_Ibcast_scatter_ring_allgather() [all …]
|
H A D | bcast.c | 329 send_size = curr_size - scatter_size * mask; in scatter_for_bcast() 402 int scatter_size, nbytes=0, curr_size, recv_size = 0; in MPIR_Bcast_scatter_doubling_allgather() local 485 curr_size = MPIU_MIN(scatter_size, (nbytes - (relative_rank * scatter_size))); in MPIR_Bcast_scatter_doubling_allgather() 511 send_offset = my_tree_root * scatter_size; in MPIR_Bcast_scatter_doubling_allgather() 512 recv_offset = dst_tree_root * scatter_size; in MPIR_Bcast_scatter_doubling_allgather() 708 int scatter_size, nbytes; in MPIR_Bcast_scatter_ring_allgather() local 793 curr_size = MPIR_MIN(scatter_size, in MPIR_Bcast_scatter_ring_allgather() 808 left_count = MPIR_MIN(scatter_size, (nbytes - rel_jnext * scatter_size)); in MPIR_Bcast_scatter_ring_allgather() 811 left_disp = rel_jnext * scatter_size; in MPIR_Bcast_scatter_ring_allgather() 812 right_count = MPIR_MIN(scatter_size, (nbytes - rel_j * scatter_size)); in MPIR_Bcast_scatter_ring_allgather() [all …]
|
/dports/games/xblood/xblood-2.0/ |
H A D | xblood.c | 52 int scatter_number, scatter_radius, scatter_size; member 95 bp->scatter_size = DEFAULT_SCATTER_SIZE; in SetDefaultValue() 131 bp->scatter_size = atoi(av[++i]); in ReadParameter() 174 r = RandomValue(bp->point[i].width * bp->scatter_size / 100) + 1; in MakeBlood()
|
/dports/math/tblis/tblis-1.2.0/src/nodes/ |
H A D | matrify.hpp | 118 len_type scatter_size = size_as_type<stride_type,T>(2*m*np + 2*n*mp) + in allocate_buffers() local 120 …k_buffer = parent.pool().template allocate<T>(m*n + std::max(m,n)*TBLIS_MAX_UNROLL + scatter_size); in allocate_buffers()
|