Skip to content

Commit c423d30

Browse files
authored
Fix gpu module building with cuda 13.2 (#6424)
* Fix gpu module building with cuda 13.2 * simplify --------- Co-authored-by: jmackay2 <jmackay2>
1 parent 7f2d8d7 commit c423d30

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

gpu/utils/include/pcl/gpu/utils/device/functional.hpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@
4141
#include <thrust/functional.h>
4242
#include <cuda.h>
4343

44+
#if CUDA_VERSION >= 13000
45+
#include <cuda/std/functional>
46+
#endif
47+
4448
namespace pcl
4549
{
4650
namespace device
@@ -84,7 +88,6 @@ namespace pcl
8488
};
8589

8690
// Generalized Identity Operations
87-
8891
#if CUDA_VERSION >= 13000
8992
using cuda::std::identity;
9093
#else

0 commit comments

Comments
 (0)