From 18043cb6379c9339b7758048beb2e783f29379bd Mon Sep 17 00:00:00 2001 From: Federico Busato <50413820+fbusato@users.noreply.github.com> Date: Wed, 13 Nov 2024 10:15:06 -0800 Subject: [PATCH] add `__cpp_lib_mdspan` feature-test macro (#2787) --- libcudacxx/include/cuda/std/version | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libcudacxx/include/cuda/std/version b/libcudacxx/include/cuda/std/version index 49f1ac8d387..ad5d476730a 100644 --- a/libcudacxx/include/cuda/std/version +++ b/libcudacxx/include/cuda/std/version @@ -46,6 +46,9 @@ # define __cccl_lib_is_null_pointer 201309L # define __cccl_lib_make_reverse_iterator 201402L // # define __cccl_lib_make_unique 201304L +# if !defined(_CCCL_COMPILER_MSVC) || _CCCL_STD_VER >= 2020 +# define __cccl_lib_mdspan 202207L +# endif // _CCCL_COMPILER_MSVC && _CCCL_STD_VER >= 2020 # define __cccl_lib_null_iterators 201304L # define __cccl_lib_optional 202110L // # define __cccl_lib_quoted_string_io 201304L