Skip to content

Commit

Permalink
[NFC][OpenMP] Silent unused variable in kmp_collapse.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
shiltian committed Mar 27, 2024
1 parent 9961c03 commit fa9ee4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openmp/runtime/src/kmp_collapse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1482,8 +1482,8 @@ void kmp_handle_upper_triangle_matrix(
original_bounds_nest[0].ub0_u64);
kmp_uint64 outer_lb0 = kmp_fix_iv(original_bounds_nest[0].loop_iv_type,
original_bounds_nest[0].lb0_u64);
kmp_uint64 inner_ub0 = kmp_fix_iv(original_bounds_nest[1].loop_iv_type,
original_bounds_nest[1].ub0_u64);
[[maybe_unused]] kmp_uint64 inner_ub0 = kmp_fix_iv(
original_bounds_nest[1].loop_iv_type, original_bounds_nest[1].ub0_u64);
// calculate the chunk's lower and upper bounds
// the total number of iterations in the loop is the sum of the arithmetic
// progression from the outer lower to outer upper bound (inclusive since the
Expand Down

0 comments on commit fa9ee4a

Please sign in to comment.