Skip to content

Commit

Permalink
SYCL TeamPolicy: Fix sign comparison warning
Browse files Browse the repository at this point in the history
  • Loading branch information
masterleinad committed Jul 18, 2023
1 parent 3f5be1b commit 93933a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/SYCL/Kokkos_SYCL_Parallel_Team.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ class ParallelReduce<CombinedFunctorReducerType,
if constexpr (!use_shuffle_based_algorithm<ReducerType>) {
reference_type update =
reducer.init(&local_mem[local_id * value_count]);
for (size_t league_rank = group_id; league_rank < league_size;
for (int league_rank = group_id; league_rank < league_size;
league_rank += n_wgroups) {
const member_type team_member(
team_scratch_memory_L0.get_pointer(), shmem_begin,
Expand Down

0 comments on commit 93933a4

Please sign in to comment.