Skip to content

Commit

Permalink
Fix sign-compare warning (NVIDIA#3408) [skip-rapids][skip-matx][skip-…
Browse files Browse the repository at this point in the history
…docs][skip-vdc]
  • Loading branch information
bernhardmgruber authored and rwgk committed Jan 15, 2025
1 parent ea33a21 commit d439f79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cub/test/catch2_segmented_sort_helper.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ public:
auto const next_end =
(uniques_index == count - 1) ? out_keys.size() : h_unique_indexes_out[uniques_index + 1];
REQUIRE(h_unique_keys_out[uniques_index] == i);
REQUIRE(next_end - h_unique_indexes_out[uniques_index] == segment_histogram[i]);
REQUIRE(next_end - h_unique_indexes_out[uniques_index] == static_cast<std::size_t>(segment_histogram[i]));
current_offset += segment_histogram[i];
uniques_index++;
}
Expand Down

0 comments on commit d439f79

Please sign in to comment.