* Gianfranco Costamagna <locutusofb...@debian.org> [2024-04-16 09:06]:
I agree with Cory, to me looks also a regression in thrust

I'm trying some hacky patch, lets see

Description: Reintroduce fallback lost in 
https://github.com/ROCm/rocThrust/commit/2b80e29803d60f01701a67bc57ef06dacfe8af8b
Author: Gianfranco Costamagna <locutusofb...@debian.org>
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>

Thanks for the patch and upstream PR. If that does not pan out, I could split stdgpu into two separate (source) packages to have the openmp backend built against libthrust-dev. I prefer your solution, though.


Cheers
Timo



--
⢀⣴⠾⠻⢶⣦⠀   ╭────────────────────────────────────────────────────╮
⣾⠁⢠⠒⠀⣿⡁   │ Timo Röhling                                       │
⢿⡄⠘⠷⠚⠋⠀   │ 9B03 EBB9 8300 DF97 C2B1  23BF CC8C 6BDD 1403 F4CA │
⠈⠳⣄⠀⠀⠀⠀   ╰────────────────────────────────────────────────────╯

Attachment: signature.asc
Description: PGP signature

Reply via email to