From 8bf49a75c55ef72dc19ca26220664fc433403884 Mon Sep 17 00:00:00 2001 From: Robert Maynard Date: Thu, 14 Nov 2024 16:34:42 -0500 Subject: [PATCH] Correct style issues found by CI --- tests/mr/device/mr_ref_multithreaded_tests.cpp | 11 +++-------- tests/mr/device/mr_ref_test.hpp | 7 +++---- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/tests/mr/device/mr_ref_multithreaded_tests.cpp b/tests/mr/device/mr_ref_multithreaded_tests.cpp index b04e280fc..cd16dff1e 100644 --- a/tests/mr/device/mr_ref_multithreaded_tests.cpp +++ b/tests/mr/device/mr_ref_multithreaded_tests.cpp @@ -192,18 +192,13 @@ TEST_P(mr_ref_test_mt, MixedRandomAllocationFree) TEST_P(mr_ref_test_mt, MixedRandomAllocationFreeDefaultStream) { - spawn(test_mixed_random_async_allocation_free, - this->ref, - default_max_size, - rmm::cuda_stream_view{}); + spawn( + test_mixed_random_async_allocation_free, this->ref, default_max_size, rmm::cuda_stream_view{}); } TEST_P(mr_ref_test_mt, MixedRandomAllocationFreeStream) { - spawn(test_mixed_random_async_allocation_free, - this->ref, - default_max_size, - this->stream.view()); + spawn(test_mixed_random_async_allocation_free, this->ref, default_max_size, this->stream.view()); } void allocate_async_loop(rmm::device_async_resource_ref ref, diff --git a/tests/mr/device/mr_ref_test.hpp b/tests/mr/device/mr_ref_test.hpp index 037d18967..2af0eff44 100644 --- a/tests/mr/device/mr_ref_test.hpp +++ b/tests/mr/device/mr_ref_test.hpp @@ -293,10 +293,9 @@ inline void test_mixed_random_allocation_free(resource_ref ref, EXPECT_EQ(allocations.size(), active_allocations); } -inline void test_mixed_random_async_allocation_free( - rmm::device_async_resource_ref ref, - size_in_bytes max_size = default_max_size, - cuda_stream_view stream = {}) +inline void test_mixed_random_async_allocation_free(rmm::device_async_resource_ref ref, + size_in_bytes max_size = default_max_size, + cuda_stream_view stream = {}) { std::default_random_engine generator; constexpr std::size_t num_allocations{100};