gentoo-ebuilds/sci-libs/rocThrust/files/rocThrust-6.4.1-fix-libcxx.patch
Sv. Lockal 3e8da2bc9b
sci-libs/rocThrust: add 6.4.1
Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42554
Signed-off-by: Sam James <sam@gentoo.org>
2025-06-14 23:37:03 +01:00

13 lines
575 B
Diff

diff --git a/thrust/type_traits/is_contiguous_iterator.h b/thrust/type_traits/is_contiguous_iterator.h
index 252ed69..c542929 100644
--- a/thrust/type_traits/is_contiguous_iterator.h
+++ b/thrust/type_traits/is_contiguous_iterator.h
@@ -131,7 +131,7 @@ struct is_libcxx_wrap_iter : false_type {};
#if defined(_LIBCPP_VERSION)
template <typename Iterator>
struct is_libcxx_wrap_iter<
-# if _LIBCPP_VERSION < 14000 || THRUST_DEVICE_COMPILER == THRUST_DEVICE_COMPILER_HIP
+# if _LIBCPP_VERSION < 14000
_VSTD::__wrap_iter<Iterator>
# else
std::__wrap_iter<Iterator>