Skip to content

Commit

Permalink
skip MSVC C++20 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fbusato committed Mar 6, 2025
1 parent ba45344 commit 122456e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cub/test/catch2_test_device_for_each_in_extents.cu
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
******************************************************************************/
#include <cub/config.cuh>

// 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 <cub/device/device_for.cuh>

Expand Down Expand Up @@ -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)

0 comments on commit 122456e

Please sign in to comment.