39 #if defined(__CUDACC__)
40 #define __PCL_GPU_HOST_DEVICE__ __host__ __device__ __forceinline__
42 #define __PCL_GPU_HOST_DEVICE__
56 __PCL_GPU_HOST_DEVICE__
59 __PCL_GPU_HOST_DEVICE__
62 __PCL_GPU_HOST_DEVICE__ std::size_t
68 __PCL_GPU_HOST_DEVICE__
69 operator T*() {
return data; }
70 __PCL_GPU_HOST_DEVICE__
operator const T*()
const {
return data; }
75 __PCL_GPU_HOST_DEVICE__
78 __PCL_GPU_HOST_DEVICE__
86 __PCL_GPU_HOST_DEVICE__
89 __PCL_GPU_HOST_DEVICE__
96 __PCL_GPU_HOST_DEVICE__ T*
102 __PCL_GPU_HOST_DEVICE__
const T*
108 __PCL_GPU_HOST_DEVICE__ T&
114 __PCL_GPU_HOST_DEVICE__
const T&
121 template <
typename T>
123 __PCL_GPU_HOST_DEVICE__
126 __PCL_GPU_HOST_DEVICE__
127 PtrStepSz(
int rows_arg,
int cols_arg, T* data_arg, std::size_t step_arg)
143 #undef __PCL_GPU_HOST_DEVICE__
static const std::size_t elem_size
__PCL_GPU_HOST_DEVICE__ std::size_t elemSize() const
__PCL_GPU_HOST_DEVICE__ DevPtr(T *data_arg)
__PCL_GPU_HOST_DEVICE__ DevPtr()
__PCL_GPU_HOST_DEVICE__ PtrStep()
__PCL_GPU_HOST_DEVICE__ PtrStep(T *data_arg, std::size_t step_arg)
__PCL_GPU_HOST_DEVICE__ T * ptr(int y=0)
__PCL_GPU_HOST_DEVICE__ const T & operator()(int y, int x) const
__PCL_GPU_HOST_DEVICE__ T & operator()(int y, int x)
__PCL_GPU_HOST_DEVICE__ const T * ptr(int y=0) const
std::size_t step
stride between two consecutive rows in bytes.
__PCL_GPU_HOST_DEVICE__ PtrStepSz()
__PCL_GPU_HOST_DEVICE__ PtrStepSz(int rows_arg, int cols_arg, T *data_arg, std::size_t step_arg)
__PCL_GPU_HOST_DEVICE__ PtrSz(T *data_arg, std::size_t size_arg)
__PCL_GPU_HOST_DEVICE__ PtrSz()