3 #if defined(__CUDACC__) 4 #define __kf_hdevice__ __host__ __device__ __forceinline__ 5 #define __kf_device__ __device__ __forceinline__ 59 :
PtrStep<T>(data_arg, step_arg), cols(cols_arg), rows(rows_arg) {}
__kf_hdevice__ T & operator()(int y, int x)
size_t step
stride between two consecutive rows in bytes. Step is stored always and everywhere in bytes!!! ...
__kf_hdevice__ PtrStepSz()
__kf_hdevice__ const T & operator()(int y, int x) const
__kf_hdevice__ size_t elemSize() const
__kf_hdevice__ const T * ptr(int y=0) const
__kf_hdevice__ PtrStep(T *data_arg, size_t step_arg)
__kf_hdevice__ PtrSz(T *data_arg, size_t size_arg)
__kf_hdevice__ PtrStepSz(int rows_arg, int cols_arg, T *data_arg, size_t step_arg)
static const size_t elem_size
__kf_hdevice__ T * ptr(int y=0)
__kf_hdevice__ DevPtr(T *data_arg)