Skip to content

Commit

Permalink
Revert extent test changes
Browse files Browse the repository at this point in the history
  • Loading branch information
PointKernel committed Dec 11, 2023
1 parent ab6c6ed commit 40d39b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/utility/extent_test.cu
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ TEMPLATE_TEST_CASE_SIG(
{
auto constexpr size = cuco::experimental::extent<SizeType, num>{};
auto constexpr res = cuco::experimental::make_window_extent<cg_size, window_size>(size);
STATIC_REQUIRE(gold_reference == static_cast<SizeType>(res));
STATIC_REQUIRE(gold_reference == res.value());
}

SECTION("Compute dynamic valid extent at run time.")
{
auto const size = cuco::experimental::extent<SizeType>{num};
auto const res = cuco::experimental::make_window_extent<cg_size, window_size>(size);
REQUIRE(gold_reference == static_cast<SizeType>(res));
REQUIRE(gold_reference == res.value());
}
}

0 comments on commit 40d39b1

Please sign in to comment.