summaryrefslogtreecommitdiff
path: root/sci-libs/vtk/files/vtk-9.6.2-cccl-3.0.patch
blob: e6353cf0e34a3a0c180767758ea848fed948ad6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
From f5a86f3c623330aa3817ea2ee735c96bb4ec30e9 Mon Sep 17 00:00:00 2001
From: Paul Zander <negril.nx+gentoo@gmail.com>
Date: Sun, 31 May 2026 23:15:24 +0200
Subject: cccl 3.0

Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>

diff --git a/ThirdParty/viskores/vtkviskores/viskores/viskores/exec/cuda/internal/WrappedOperators.h b/ThirdParty/viskores/vtkviskores/viskores/viskores/exec/cuda/internal/WrappedOperators.h
index c00f1414..802ee555 100644
--- a/ThirdParty/viskores/vtkviskores/viskores/viskores/exec/cuda/internal/WrappedOperators.h
+++ b/ThirdParty/viskores/vtkviskores/viskores/viskores/exec/cuda/internal/WrappedOperators.h
@@ -30,7 +30,8 @@ VISKORES_THIRDPARTY_PRE_INCLUDE
 #include <thrust/system/cuda/memory.h>
 VISKORES_THIRDPARTY_POST_INCLUDE
 
-#if THRUST_VERSION >= 200500
+#if THRUST_VERSION >= 300200
+#elif THRUST_VERSION >= 200500
 #include <cuda/std/type_traits>
 #endif
 
@@ -209,7 +210,8 @@ namespace detail
 // the binary functor is commutative and the T type is is_arithmetic
 //
 //
-#if THRUST_VERSION >= 200500
+#if THRUST_VERSION >= 300200
+#elif THRUST_VERSION >= 200500
 template <typename T, typename F>
 struct is_commutative<viskores::exec::cuda::internal::WrappedBinaryOperator<T, F>>
   : public ::cuda::std::is_arithmetic<T>
-- 
2.54.0