38 #ifndef PCL_DEVICE_FUNCTIONAL_HPP_
39 #define PCL_DEVICE_FUNCTIONAL_HPP_
41 #include <thrust/functional.h>
53 using thrust::multiplies;
54 using thrust::divides;
55 using thrust::modulus;
60 using thrust::equal_to;
61 using thrust::not_equal_to;
62 using thrust::greater;
64 using thrust::greater_equal;
65 using thrust::less_equal;
69 using thrust::logical_and;
70 using thrust::logical_or;
71 using thrust::logical_not;
75 using thrust::bit_and;
77 using thrust::bit_xor;
83 __forceinline__ __device__ T
operator ()(
const T& v)
const {
return ~v;}
88 #if CUDA_VERSION >= 13000
89 using cuda::std::identity;
91 using thrust::identity;
93 using thrust::project1st;
94 using thrust::project2nd;
99 template<
typename T,
typename W>
104 __device__ __host__ __forceinline__
float operator()(
const T& f1,
const T& f2)
const
__forceinline__ __device__ T operator()(const T &v) const
__device__ __host__ __forceinline__ float operator()(const T &f1, const T &f2) const
__device__ __host__ __forceinline__ plusWeighted(W weight)