From 8fe749cd5d852029b3235bdaf2cf8f40af54ccbd Mon Sep 17 00:00:00 2001 From: jmackay2 Date: Sat, 30 May 2026 01:03:02 -0400 Subject: [PATCH 1/2] fix cuda 13.3 errors --- cuda/common/include/pcl/cuda/thrust.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/cuda/common/include/pcl/cuda/thrust.h b/cuda/common/include/pcl/cuda/thrust.h index ad3efbb5f90..581c53b13e4 100644 --- a/cuda/common/include/pcl/cuda/thrust.h +++ b/cuda/common/include/pcl/cuda/thrust.h @@ -45,3 +45,13 @@ #include #include #include + +// thrust::tuple/make_tuple/get were removed in Thrust 3.0 (CUDA 13) +#if THRUST_MAJOR_VERSION >= 3 +#include +namespace thrust { + using ::cuda::std::tuple; + using ::cuda::std::make_tuple; + using ::cuda::std::get; +} +#endif \ No newline at end of file From 93a7e17dd2f3566a2170fca508c0664e6580d57b Mon Sep 17 00:00:00 2001 From: jmackay2 Date: Mon, 1 Jun 2026 20:34:02 -0400 Subject: [PATCH 2/2] thrust tuple include --- cuda/common/include/pcl/cuda/thrust.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/cuda/common/include/pcl/cuda/thrust.h b/cuda/common/include/pcl/cuda/thrust.h index 581c53b13e4..508eabe55b1 100644 --- a/cuda/common/include/pcl/cuda/thrust.h +++ b/cuda/common/include/pcl/cuda/thrust.h @@ -45,13 +45,4 @@ #include #include #include - -// thrust::tuple/make_tuple/get were removed in Thrust 3.0 (CUDA 13) -#if THRUST_MAJOR_VERSION >= 3 -#include -namespace thrust { - using ::cuda::std::tuple; - using ::cuda::std::make_tuple; - using ::cuda::std::get; -} -#endif \ No newline at end of file +#include \ No newline at end of file