Skip to content

Commit

Permalink
clean up comments
Browse files Browse the repository at this point in the history
  • Loading branch information
fbusato committed Jan 30, 2025
1 parent 9f9f341 commit ca40b14
Show file tree
Hide file tree
Showing 22 changed files with 0 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,7 @@ int main(int, char**)
{
test();
test_count<1000>(); // not in constexpr because of constexpr evaluation step limits
// 11.4 added support for constexpr device vars needed here
#if TEST_STD_VER >= 2014
static_assert(test(), "");
#endif // TEST_STD_VER >= 2014

return 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ int main(int, char**)
{
test();
test_flip_all<1000>(); // not in constexpr because of constexpr evaluation step limits
// 11.4 added support for constexpr device vars needed here
static_assert(test(), "");

return 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ int main(int, char**)
{
test();
test_flip_one<1000>(); // not in constexpr because of constexpr evaluation step limits
// 11.4 added support for constexpr device vars needed here
static_assert(test(), "");

return 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ int main(int, char**)
{
test();
test_index<1000>(); // not in constexpr because of constexpr evaluation step limits
// 11.4 added support for constexpr device vars needed here
static_assert(test(), "");

return 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ int main(int, char**)
{
test();
test_index_const<1000>(); // not in constexpr because of constexpr evaluation step limits
// 11.4 added support for constexpr device vars needed here
static_assert(test(), "");

return 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ int main(int, char**)
test_left_shift<64>();
test_left_shift<65>();
test_left_shift<1000>(); // not in constexpr because of constexpr evaluation step limits
// 11.4 added support for constexpr device vars needed here
static_assert(test_left_shift<0>(), "");
static_assert(test_left_shift<1>(), "");
static_assert(test_left_shift<31>(), "");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ int main(int, char**)
test_left_shift<64>();
test_left_shift<65>();
test_left_shift<1000>(); // not in constexpr because of constexpr evaluation step limits
// 11.4 added support for constexpr device vars needed here
static_assert(test_left_shift<0>(), "");
static_assert(test_left_shift<1>(), "");
static_assert(test_left_shift<31>(), "");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ int main(int, char**)
{
test();
test_not_all<1000>(); // not in constexpr because of constexpr evaluation step limits
// 11.4 added support for constexpr device vars needed here
static_assert(test(), "");

return 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ int main(int, char**)
test_op_and_eq<64>();
test_op_and_eq<65>();
test_op_and_eq<1000>(); // not in constexpr because of constexpr evaluation step limits
// 11.4 added support for constexpr device vars needed here
static_assert(test_op_and_eq<0>(), "");
static_assert(test_op_and_eq<1>(), "");
static_assert(test_op_and_eq<31>(), "");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ int main(int, char**)
{
test();
test_equality<1000>(); // not in constexpr because of constexpr evaluation step limits
// 11.4 added support for constexpr device vars needed here
static_assert(test(), "");

return 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ int main(int, char**)
test_op_or_eq<64>();
test_op_or_eq<65>();
test_op_or_eq<1000>(); // not in constexpr because of constexpr evaluation step limits
// 11.4 added support for constexpr device vars needed here
static_assert(test_op_or_eq<0>(), "");
static_assert(test_op_or_eq<1>(), "");
static_assert(test_op_or_eq<31>(), "");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ int main(int, char**)
test_op_xor_eq<64>();
test_op_xor_eq<65>();
test_op_xor_eq<1000>(); // not in constexpr because of constexpr evaluation step limits
// 11.4 added support for constexpr device vars needed here
static_assert(test_op_xor_eq<0>(), "");
static_assert(test_op_xor_eq<1>(), "");
static_assert(test_op_xor_eq<31>(), "");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ int main(int, char**)
test_reset_one<64>();
test_reset_one<65>();
test_reset_one<1000>(); // not in constexpr because of constexpr evaluation step limits
// 11.4 added support for constexpr device vars needed here
static_assert(test_reset_one<0>(), "");
static_assert(test_reset_one<1>(), "");
static_assert(test_reset_one<31>(), "");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ __host__ __device__ int main(int, char**)
test_right_shift<64>();
test_right_shift<65>();
test_right_shift<1000>(); // not in constexpr because of constexpr evaluation step limits
// 11.4 added support for constexpr device vars needed here
static_assert(test_right_shift<0>(), "");
static_assert(test_right_shift<1>(), "");
static_assert(test_right_shift<31>(), "");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ __host__ __device__ int main(int, char**)
test_right_shift<64>();
test_right_shift<65>();
test_right_shift<1000>(); // not in constexpr because of constexpr evaluation step limits
// 11.4 added support for constexpr device vars needed here
static_assert(test_right_shift<0>(), "");
static_assert(test_right_shift<1>(), "");
static_assert(test_right_shift<31>(), "");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ int main(int, char**)
{
test();
test_set_one<1000>(); // not in constexpr because of constexpr evaluation step limits
// 11.4 added support for constexpr device vars needed here
static_assert(test(), "");

return 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ int main(int, char**)
{
test();
test_test<1000>(); // not in constexpr because of constexpr evaluation step limits
// 11.4 added support for constexpr device vars needed here
static_assert(test(), "");

return 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,6 @@ __host__ __device__ TEST_CONSTEXPR_CXX14 bool test()
int main(int, char**)
{
test();
#if !_CCCL_COMPILER(MSVC)
static_assert(test(), "");
#endif // TEST_STD_VER >= 2014

return 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@ __host__ __device__ TEST_CONSTEXPR_CXX14 bool test()
int main(int, char**)
{
test();
#if !_CCCL_COMPILER(MSVC)
static_assert(test(), "");
#endif

return 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ int main(int, char**)
test_op_and<64>();
test_op_and<65>();
test_op_and<1000>(); // not in constexpr because of constexpr evaluation step limits
// 11.4 added support for constexpr device vars needed here
static_assert(test_op_and<0>(), "");
static_assert(test_op_and<1>(), "");
static_assert(test_op_and<31>(), "");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ int main(int, char**)
test_op_not<64>();
test_op_not<65>();
test_op_not<1000>(); // not in constexpr because of constexpr evaluation step limits
// 11.4 added support for constexpr device vars needed here
static_assert(test_op_not<0>(), "");
static_assert(test_op_not<1>(), "");
static_assert(test_op_not<31>(), "");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ int main(int, char**)
test_op_or<64>();
test_op_or<65>();
test_op_or<1000>(); // not in constexpr because of constexpr evaluation step limits
// 11.4 added support for constexpr device vars needed here
static_assert(test_op_or<0>(), "");
static_assert(test_op_or<1>(), "");
static_assert(test_op_or<31>(), "");
Expand Down

0 comments on commit ca40b14

Please sign in to comment.