Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
Add missed synch from gitlab (#333)
Browse files Browse the repository at this point in the history
  • Loading branch information
miscco authored Nov 14, 2022
1 parent e7cddb1 commit 77900f2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions include/cuda/std/detail/libcxx/include/__tuple
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,14 @@ _LIBCUDACXX_END_NAMESPACE_STD
// See https://github.com/NVIDIA/libcudacxx/issues/316 for a short discussion
#if _LIBCUDACXX_STD_VER > 14
namespace std {
#ifdef _LIBCUDACXX_COMPILER_NVRTC
template <class... _Tp>
struct tuple_size;

template<size_t _Ip, class... _Tp>
struct tuple_element;
#endif

template <class... _Tp>
struct tuple_size<_CUDA_VSTD::tuple<_Tp...>>
: _CUDA_VSTD::tuple_size<_CUDA_VSTD::tuple<_Tp...>>
Expand Down
8 changes: 8 additions & 0 deletions include/cuda/std/detail/libcxx/include/array
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,14 @@ _LIBCUDACXX_END_NAMESPACE_STD
// See https://github.com/NVIDIA/libcudacxx/issues/316 for a short discussion
#if _LIBCUDACXX_STD_VER > 14
namespace std {
#ifdef _LIBCUDACXX_COMPILER_NVRTC
template <class... _Tp>
struct tuple_size;

template<size_t _Ip, class... _Tp>
struct tuple_element;
#endif

template <class _Tp, size_t _Size>
struct tuple_size<_CUDA_VSTD::array<_Tp, _Size>>
: _CUDA_VSTD::tuple_size<_CUDA_VSTD::array<_Tp, _Size>>
Expand Down

0 comments on commit 77900f2

Please sign in to comment.