Skip to content

Commit

Permalink
Correct style issues found by CI
Browse files Browse the repository at this point in the history
  • Loading branch information
robertmaynard committed Nov 14, 2024
1 parent f304461 commit 8bf49a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
11 changes: 3 additions & 8 deletions tests/mr/device/mr_ref_multithreaded_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
7 changes: 3 additions & 4 deletions tests/mr/device/mr_ref_test.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down

0 comments on commit 8bf49a7

Please sign in to comment.