From a5dc0dbe6f341921906980a6ee82a685b7d48957 Mon Sep 17 00:00:00 2001 From: Elias Stehle <3958403+elstehle@users.noreply.github.com> Date: Mon, 6 Jan 2025 19:08:40 -0800 Subject: [PATCH] fixes spelling --- cub/test/catch2_segmented_sort_helper.cuh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cub/test/catch2_segmented_sort_helper.cuh b/cub/test/catch2_segmented_sort_helper.cuh index 8eaa62b5b66..1b195f9d788 100644 --- a/cub/test/catch2_segmented_sort_helper.cuh +++ b/cub/test/catch2_segmented_sort_helper.cuh @@ -134,7 +134,7 @@ public: void verify_sorted(const c2h::device_vector& out_keys) const { - // Verfiy keys are sorted next to each other + // Verify keys are sorted next to each other auto count = thrust::unique_count(c2h::device_policy, out_keys.cbegin(), out_keys.cend(), thrust::equal_to()); REQUIRE(count <= max_histo_size); @@ -215,7 +215,7 @@ public: // The segments' end-offsets are provided by the segments' begin-offset iterator auto offsets_plus_1 = offsets + 1; - // Verfiy keys are sorted next to each other + // Verify keys are sorted next to each other const auto count = static_cast( thrust::unique_count(c2h::device_policy, out_keys.cbegin(), out_keys.cend(), thrust::equal_to())); REQUIRE(count <= sequence_length * num_segments);