File tree Expand file tree Collapse file tree 2 files changed +0
-63
lines changed
thrust/thrust/type_traits Expand file tree Collapse file tree 2 files changed +0
-63
lines changed Original file line number Diff line number Diff line change 4949
5050CUB_NAMESPACE_BEGIN
5151
52- #ifndef _CCCL_DOXYGEN_INVOKED // Do not document
53- # define CUB_PREVENT_MACRO_SUBSTITUTION
54- template <typename T, typename U>
55- CCCL_DEPRECATED_BECAUSE (" Use cuda::std::min from <cuda/std/functional> instead" )
56- constexpr _CCCL_HOST_DEVICE auto min CUB_PREVENT_MACRO_SUBSTITUTION(T&& t, U&& u)
57- -> decltype(t < u ? ::cuda::std::forward<T>(t) : ::cuda::std::forward<U>(u))
58- {
59- return t < u ? ::cuda::std::forward<T>(t) : ::cuda::std::forward<U>(u);
60- }
61-
62- template <typename T, typename U>
63- CCCL_DEPRECATED_BECAUSE (" Use cuda::std::max from <cuda/std/functional> instead" )
64- constexpr _CCCL_HOST_DEVICE auto max CUB_PREVENT_MACRO_SUBSTITUTION(T&& t, U&& u)
65- -> decltype(t < u ? ::cuda::std::forward<U>(u) : ::cuda::std::forward<T>(t))
66- {
67- return t < u ? ::cuda::std::forward<U>(u) : ::cuda::std::forward<T>(t);
68- }
69- # undef CUB_PREVENT_MACRO_SUBSTITUTION
70- #endif
71-
7252#ifndef CUB_MAX
7353// / Select maximum(a, b)
7454# define CUB_MAX (a, b ) (((b) > (a)) ? (b) : (a))
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments