38 #ifndef PCL_DEVICE_FUNCTIONAL_HPP_
39 #define PCL_DEVICE_FUNCTIONAL_HPP_
41 #include <thrust/functional.h>
49 using thrust::binary_function;
55 using thrust::multiplies;
56 using thrust::divides;
57 using thrust::modulus;
62 using thrust::equal_to;
63 using thrust::not_equal_to;
64 using thrust::greater;
66 using thrust::greater_equal;
67 using thrust::less_equal;
71 using thrust::logical_and;
72 using thrust::logical_or;
73 using thrust::logical_not;
77 using thrust::bit_and;
79 using thrust::bit_xor;
85 __forceinline__ __device__ T
operator ()(
const T& v)
const {
return ~v;}
90 using thrust::identity;
91 using thrust::project1st;
92 using thrust::project2nd;
97 template<
typename T,
typename W>
102 __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)