Skip to content

Commit 5bf5ad6

Browse files
Igor S. Gerasimovfoxtran
authored andcommitted
Remove fortran-related comments
1 parent d68e30e commit 5bf5ad6

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/CXX/SLB4MPI/SLB4MPI/runtime_load_balancer.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ namespace SLB4MPI {
3838
/**
3939
*
4040
* @brief get range to compute
41-
* @note upper_bound can be only less than or equal RuntimeLoadBalancer.lb.upper_bound
41+
* @note upper_bound can be only less than or equal RuntimeLoadBalancer.upper_bound
4242
* so, for last elements a batch with size less than min_chunk_size can be returned
4343
*
4444
* @param[out] lower_bound - lower bound of range to compute

src/CXX/work_stealing_load_balancer.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ bool SLB4MPI::WorkStealingLoadBalancer::get_range(int64_t& lower_bound, int64_t&
9090
int compute_rank;
9191
bool done;
9292
std::array<int64_t, 2> bounds;
93-
// get rank which computes lb%actual_rank
93+
// get rank which computes this->actual_rank
9494
MPI_Win_lock(MPI_LOCK_SHARED, this->actual_rank, MPI_MODE_NOCHECK, this->window_actual_rank);
9595
MPI_Get(&compute_rank, 1, MPI_INT, this->actual_rank, 0, 1, MPI_INT, this->window_actual_rank);
9696
MPI_Win_unlock(this->actual_rank, this->window_actual_rank);
@@ -117,7 +117,7 @@ bool SLB4MPI::WorkStealingLoadBalancer::get_range(int64_t& lower_bound, int64_t&
117117
if (to_compute) return to_compute;
118118
}
119119
} else {
120-
// switch to lb%actual_rank of compute_rank
120+
// switch to this->actual_rank of compute_rank
121121
this->actual_rank = compute_rank;
122122
if (this->actual_rank == this->rank) return false;
123123
// but... to avoid infinity cycle, sometimes we will check that there is some jobs

0 commit comments

Comments
 (0)