Skip to content

Commit

Permalink
Waive __cccl_is_constructable test for NVRTC.
Browse files Browse the repository at this point in the history
  • Loading branch information
alliepiper committed Jan 31, 2025
1 parent 21f2502 commit 0ed9fac
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ template <class T, class A0>
__host__ __device__ void test_is_not_constructible()
{
static_assert((!cuda::std::is_constructible<T, A0>::value), "");
#if !defined(TEST_COMPILER_MSVC) && !defined(TEST_COMPILER_CLANG)
// The fallback SFINAE version doesn't work reliable with Clang/MSVC, and we don't
#if !defined(TEST_COMPILER_MSVC) && !defined(TEST_COMPILER_CLANG) && !defined(TEST_COMPILER_NVRTC)
// The fallback SFINAE version doesn't work reliable with Clang/MSVC/NVRTC, and we don't
// use it, so waive it.
static_assert((!cuda::std::__cccl_is_constructible<T, A0>::type::value), "");
#endif
Expand Down

0 comments on commit 0ed9fac

Please sign in to comment.