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

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
miscco committed May 31, 2023
1 parent ad2a915 commit f6d07dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions include/cuda/std/detail/libcxx/include/__config
Original file line number Diff line number Diff line change
Expand Up @@ -1370,12 +1370,12 @@ typedef __char32_t char32_t;
#define _LIBCUDACXX_DEVICE __device__
#define _LIBCUDACXX_HOST_DEVICE __host__ __device__
#define _LIBCUDACXX_FORCE_INLINE __forceinline__
#else // ^^^ __cuda_std__ ^^^ / vvv !__cuda_std__
#else // ^^^ __CUDACC__ ^^^ / vvv !__CUDACC__
#define _LIBCUDACXX_HOST
#define _LIBCUDACXX_DEVICE
#define _LIBCUDACXX_HOST_DEVICE
#define _LIBCUDACXX_FORCE_INLINE
#endif // !__cuda_std__
#endif // !__CUDACC__

// Just so we can migrate to the new macros gradually.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ struct __has_iterator_typedefs
private:
struct __two {char __lx; char __lxx;};
template <class _Up>
_LIBCUDACXX_HOST_DEVICE _LIBCUDACXX_INLINE_VISIBILITY static __two __test(...);
_LIBCUDACXX_INLINE_VISIBILITY static __two __test(...);
template <class _Up>
_LIBCUDACXX_HOST_DEVICE _LIBCUDACXX_INLINE_VISIBILITY static char __test(
_LIBCUDACXX_INLINE_VISIBILITY static char __test(
__void_t<typename _Up::iterator_category>* = 0,
__void_t<typename _Up::difference_type>* = 0,
__void_t<typename _Up::value_type>* = 0,
Expand All @@ -59,9 +59,9 @@ struct __has_iterator_category
private:
struct __two {char __lx; char __lxx;};
template <class _Up>
_LIBCUDACXX_HOST_DEVICE _LIBCUDACXX_INLINE_VISIBILITY static __two __test(...);
_LIBCUDACXX_INLINE_VISIBILITY static __two __test(...);
template <class _Up>
_LIBCUDACXX_HOST_DEVICE _LIBCUDACXX_INLINE_VISIBILITY static char __test(typename _Up::iterator_category* = 0);
_LIBCUDACXX_INLINE_VISIBILITY static char __test(typename _Up::iterator_category* = 0);
public:
static const bool value = sizeof(__test<_Tp>(0)) == 1;
};
Expand Down

0 comments on commit f6d07dd

Please sign in to comment.