Skip to content

Commit

Permalink
remove test
Browse files Browse the repository at this point in the history
  • Loading branch information
pmattione-nvidia committed Feb 19, 2025
1 parent 9c24846 commit 4502a25
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions tests/mr/host/pinned_pool_mr_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,20 +46,6 @@ TEST(PinnedPoolTest, ThrowMaxLessThanInitial)
EXPECT_THROW(max_less_than_initial(), rmm::logic_error);
}

TEST(PinnedPoolTest, ThrowTooMuchPinned)
{
// Make sure we throw rmm::out_of_memory when trying to pin more memory than available.
auto pin_test = []() {
rmm::mr::pinned_memory_resource pinned_mr{};
auto amount = 200UL * 1024 * 1024 * 1024; // 200GB
const auto initial = amount;
const auto maximum = amount;
pool_mr mr{&pinned_mr, initial, maximum};
mr.allocate(maximum);
};
EXPECT_THROW(pin_test(), rmm::out_of_memory);
}

TEST(PinnedPoolTest, ReferenceThrowMaxLessThanInitial)
{
// Make sure first argument is enough larger than the second that alignment rounding doesn't
Expand Down

0 comments on commit 4502a25

Please sign in to comment.