From 122456e3e9909e62051879e870007db1a910d4a5 Mon Sep 17 00:00:00 2001 From: fbusato Date: Thu, 6 Mar 2025 10:15:59 -0800 Subject: [PATCH] skip MSVC C++20 tests --- cub/test/catch2_test_device_for_each_in_extents.cu | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cub/test/catch2_test_device_for_each_in_extents.cu b/cub/test/catch2_test_device_for_each_in_extents.cu index f7f6bb1c5c3..d53354b9fc2 100644 --- a/cub/test/catch2_test_device_for_each_in_extents.cu +++ b/cub/test/catch2_test_device_for_each_in_extents.cu @@ -26,9 +26,9 @@ ******************************************************************************/ #include -// TODO: remove _CCCL_COMPILER(MSVC) check after MSVC bug related to vector comparison is fixed: -// "error C3546: '...': there are no parameter packs available to expand" -#if __cccl_lib_mdspan +// MSVC in C++20 is not able to compile Catch2 tests with many large type lists. Error: +// error C3546: '...': there are no parameter packs available to expand in make_tuple_types.h:__make_tuple_types_flat +#if !(_CCCL_COMPILER(MSVC) && _CCCL_STD_VERSION == 2020) # include @@ -181,4 +181,4 @@ C2H_TEST("DeviceForEachInExtents 3D dynamic", "[ForEachInExtents][dynamic][devic REQUIRE(h_output == h_output_gpu); } -#endif // __cccl_lib_mdspan +#endif // !(_CCCL_COMPILER(MSVC) && _CCCL_STD_VERSION == 2020)