Skip to content

Commit

Permalink
[pre-commit.ci] auto code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jan 6, 2025
1 parent 54a43e4 commit 7ed26b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/mr/device/arena_mr_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion tests/mr/device/failure_callback_mr_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7ed26b9

Please sign in to comment.