Public Member Functions | Public Attributes | List of all members
kfusion::cuda::PtrStep< T > Struct Template Reference

#include <kernel_containers.hpp>

Inheritance diagram for kfusion::cuda::PtrStep< T >:
Inheritance graph
[legend]

Public Member Functions

__kf_hdevice__ T & operator() (int y, int x)
 
const __kf_hdevice__ T & operator() (int y, int x) const
 
__kf_hdevice__ T * ptr (int y=0)
 
const __kf_hdevice__ T * ptr (int y=0) const
 
__kf_hdevice__ PtrStep ()
 
__kf_hdevice__ PtrStep (T *data_arg, size_t step_arg)
 
- Public Member Functions inherited from kfusion::cuda::DevPtr< T >
__kf_hdevice__ DevPtr ()
 
__kf_hdevice__ DevPtr (T *data_arg)
 
__kf_hdevice__ size_t elemSize () const
 
__kf_hdevice__ operator const T * () const
 
__kf_hdevice__ operator T* ()
 

Public Attributes

size_t step
 stride between two consecutive rows in bytes. Step is stored always and everywhere in bytes!!! More...
 
- Public Attributes inherited from kfusion::cuda::DevPtr< T >
T * data
 

Additional Inherited Members

- Public Types inherited from kfusion::cuda::DevPtr< T >
typedef T elem_type
 
- Static Public Attributes inherited from kfusion::cuda::DevPtr< T >
const static size_t elem_size = sizeof(elem_type)
 

Detailed Description

template<typename T>
struct kfusion::cuda::PtrStep< T >

Definition at line 40 of file kernel_containers.hpp.

Constructor & Destructor Documentation

◆ PtrStep() [1/2]

template<typename T >
__kf_hdevice__ kfusion::cuda::PtrStep< T >::PtrStep ( )
inline

Definition at line 42 of file kernel_containers.hpp.

◆ PtrStep() [2/2]

template<typename T >
__kf_hdevice__ kfusion::cuda::PtrStep< T >::PtrStep ( T *  data_arg,
size_t  step_arg 
)
inline

Definition at line 43 of file kernel_containers.hpp.

Member Function Documentation

◆ operator()() [1/2]

template<typename T >
__kf_hdevice__ T& kfusion::cuda::PtrStep< T >::operator() ( int  y,
int  x 
)
inline

Definition at line 51 of file kernel_containers.hpp.

◆ operator()() [2/2]

template<typename T >
const __kf_hdevice__ T& kfusion::cuda::PtrStep< T >::operator() ( int  y,
int  x 
) const
inline

Definition at line 52 of file kernel_containers.hpp.

◆ ptr() [1/2]

template<typename T >
__kf_hdevice__ T* kfusion::cuda::PtrStep< T >::ptr ( int  y = 0)
inline

Definition at line 48 of file kernel_containers.hpp.

◆ ptr() [2/2]

template<typename T >
const __kf_hdevice__ T* kfusion::cuda::PtrStep< T >::ptr ( int  y = 0) const
inline

Definition at line 49 of file kernel_containers.hpp.

Member Data Documentation

◆ step

template<typename T >
size_t kfusion::cuda::PtrStep< T >::step

stride between two consecutive rows in bytes. Step is stored always and everywhere in bytes!!!

Definition at line 46 of file kernel_containers.hpp.


The documentation for this struct was generated from the following file:


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:26