Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 907497 Details for
Bug 938673
sci-libs/vtk-9.3.0[cuda]: error: namespace "thrust::THRUST_200500_890_NS::detail" has no member class "is_arithmetic"
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
vtk-9.3.0-ThrustPatches-is_arithmetic.patch
vtk-9.3.0-ThrustPatches-is_arithmetic.patch (text/plain), 945 bytes, created by
Chicago
on 2024-10-31 22:29:47 UTC
(
hide
)
Description:
vtk-9.3.0-ThrustPatches-is_arithmetic.patch
Filename:
MIME Type:
Creator:
Chicago
Created:
2024-10-31 22:29:47 UTC
Size:
945 bytes
patch
obsolete
>--- a/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/exec/cuda/internal/WrappedOperators.h.orig 2023-11-13 23:37:21.000000000 +0000 >+++ b/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/exec/cuda/internal/WrappedOperators.h 2024-10-31 22:08:48.600963344 +0000 >@@ -22,6 +22,10 @@ > #include <thrust/system/cuda/memory.h> > VTKM_THIRDPARTY_POST_INCLUDE > >+#if THRUST_VERSION >= 200500 >+#include <cuda/std/type_traits> >+#endif >+ > namespace vtkm > { > namespace exec >@@ -193,11 +197,19 @@ > // the binary functor is commutative and the T type is is_arithmetic > // > // >+#if THRUST_VERSION >= 200500 >+template <typename T, typename F> >+struct is_commutative<vtkm::exec::cuda::internal::WrappedBinaryOperator<T, F>> >+ : public ::cuda::std::is_arithmetic<T> >+{ >+}; >+#else > template <typename T, typename F> > struct is_commutative<vtkm::exec::cuda::internal::WrappedBinaryOperator<T, F>> > : public thrust::detail::is_arithmetic<T> > { > }; >+#endif > } > } //namespace thrust::detail >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 938673
: 907497