From 7ed26b9e97e9c8356709ea82c67f61ec725b840b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Jan 2025 22:06:23 +0000 Subject: [PATCH] [pre-commit.ci] auto code formatting --- tests/mr/device/arena_mr_tests.cpp | 2 +- tests/mr/device/failure_callback_mr_tests.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/mr/device/arena_mr_tests.cpp b/tests/mr/device/arena_mr_tests.cpp index 3a4ed71ef..f0c7aaf08 100644 --- a/tests/mr/device/arena_mr_tests.cpp +++ b/tests/mr/device/arena_mr_tests.cpp @@ -588,7 +588,7 @@ TEST_F(ArenaTest, DumpLogOnFailure) // NOLINT // NOLINTNEXTLINE(cppcoreguidelines-avoid-goto) EXPECT_THROW(mr.allocate(8_MiB), rmm::out_of_memory); - struct stat file_status{}; + struct stat file_status {}; EXPECT_EQ(stat("rmm_arena_memory_dump.log", &file_status), 0); EXPECT_GE(file_status.st_size, 0); } diff --git a/tests/mr/device/failure_callback_mr_tests.cpp b/tests/mr/device/failure_callback_mr_tests.cpp index f6a081da3..00901d368 100644 --- a/tests/mr/device/failure_callback_mr_tests.cpp +++ b/tests/mr/device/failure_callback_mr_tests.cpp @@ -61,7 +61,7 @@ class always_throw_memory_resource final : public mr::device_memory_resource { { throw ExceptionType{"foo"}; } - void do_deallocate(void* ptr, std::size_t bytes, cuda_stream_view stream) override {}; + void do_deallocate(void* ptr, std::size_t bytes, cuda_stream_view stream) override{}; }; TEST(FailureCallbackTest, DifferentExceptionTypes)