Skip to content

Commit 5e0680e

Browse files
authored
Fix typo in cub/.clang-tidy (#8416)
1 parent a0a7ac1 commit 5e0680e

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

cub/.clang-tidy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
IncludeParentConfig: true
2+
InheritParentConfig: true
33
CheckOptions:
44
- key: modernize-loop-convert.MaxCopySize
55
value: '16'

cub/test/catch2_test_device_segmented_sort_pairs_env_api.cu

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ C2H_TEST("cub::DeviceSegmentedSort::SortPairs nonstable env-based API", "[segmen
201201
stream_ref);
202202
if (error != cudaSuccess)
203203
{
204-
std::cerr << "cub::DeviceSegmentedSort::SortPairs failed with status: " << error << std::endl;
204+
std::cerr << "cub::DeviceSegmentedSort::SortPairs failed with status: " << error << '\n';
205205
}
206206

207207
thrust::device_vector<int> expected_keys{6, 7, 8, 0, 3, 5, 9};
@@ -239,7 +239,7 @@ C2H_TEST("cub::DeviceSegmentedSort::SortPairsDescending nonstable env-based API"
239239
stream_ref);
240240
if (error != cudaSuccess)
241241
{
242-
std::cerr << "cub::DeviceSegmentedSort::SortPairsDescending failed with status: " << error << std::endl;
242+
std::cerr << "cub::DeviceSegmentedSort::SortPairsDescending failed with status: " << error << '\n';
243243
}
244244

245245
thrust::device_vector<int> expected_keys{8, 7, 6, 9, 5, 3, 0};
@@ -279,7 +279,7 @@ C2H_TEST("cub::DeviceSegmentedSort::SortPairs nonstable DoubleBuffer env-based A
279279
stream_ref);
280280
if (error != cudaSuccess)
281281
{
282-
std::cerr << "cub::DeviceSegmentedSort::SortPairs (DoubleBuffer) failed with status: " << error << std::endl;
282+
std::cerr << "cub::DeviceSegmentedSort::SortPairs (DoubleBuffer) failed with status: " << error << '\n';
283283
}
284284

285285
thrust::device_vector<int> expected_keys{6, 7, 8, 0, 3, 5, 9};
@@ -322,8 +322,7 @@ C2H_TEST("cub::DeviceSegmentedSort::SortPairsDescending nonstable DoubleBuffer e
322322
stream_ref);
323323
if (error != cudaSuccess)
324324
{
325-
std::cerr
326-
<< "cub::DeviceSegmentedSort::SortPairsDescending (DoubleBuffer) failed with status: " << error << std::endl;
325+
std::cerr << "cub::DeviceSegmentedSort::SortPairsDescending (DoubleBuffer) failed with status: " << error << '\n';
327326
}
328327

329328
thrust::device_vector<int> expected_keys{8, 7, 6, 9, 5, 3, 0};

0 commit comments

Comments
 (0)