1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
Description: Reintroduce fallback lost in https://github.com/ROCm/rocThrust/commit/2b80e29803d60f01701a67bc57ef06dacfe8af8b
Author: Gianfranco Costamagna <locutusofborg@debian.org>
Forwarded: https://github.com/ROCm/rocThrust/pull/402
Bug-Debian: https://bugs.debian.org/1064730
Last-Update: 2024-04-16
--- rocthrust-5.7.1.orig/thrust/detail/type_traits.h
+++ rocthrust-5.7.1/thrust/detail/type_traits.h
@@ -731,6 +731,8 @@ using invoke_result_t =
#else // 2017+
::cuda::std::invoke_result_t<Invokable, Args...>;
#endif
+#else
+ std::invoke_result_t<Invokable, Args...>;
#endif
template <class F, class... Us>
|