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

#include <kernel_containers.hpp>

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

Public Types

typedef T elem_type
 

Public Member Functions

__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

T * data
 

Static Public Attributes

static const size_t elem_size = sizeof(elem_type)
 

Detailed Description

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

Definition at line 17 of file kernel_containers.hpp.

Member Typedef Documentation

◆ elem_type

template<typename T>
typedef T kfusion::cuda::DevPtr< T >::elem_type

Definition at line 19 of file kernel_containers.hpp.

Constructor & Destructor Documentation

◆ DevPtr() [1/2]

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

Definition at line 24 of file kernel_containers.hpp.

◆ DevPtr() [2/2]

template<typename T>
__kf_hdevice__ kfusion::cuda::DevPtr< T >::DevPtr ( T *  data_arg)
inline

Definition at line 25 of file kernel_containers.hpp.

Member Function Documentation

◆ elemSize()

template<typename T>
__kf_hdevice__ size_t kfusion::cuda::DevPtr< T >::elemSize ( ) const
inline

Definition at line 27 of file kernel_containers.hpp.

◆ operator const T *()

template<typename T>
__kf_hdevice__ kfusion::cuda::DevPtr< T >::operator const T * ( ) const
inline

Definition at line 29 of file kernel_containers.hpp.

◆ operator T*()

template<typename T>
__kf_hdevice__ kfusion::cuda::DevPtr< T >::operator T* ( )
inline

Definition at line 28 of file kernel_containers.hpp.

Member Data Documentation

◆ data

template<typename T>
T* kfusion::cuda::DevPtr< T >::data

Definition at line 22 of file kernel_containers.hpp.

◆ elem_size

template<typename T>
const size_t kfusion::cuda::DevPtr< T >::elem_size = sizeof(elem_type)
static

Definition at line 20 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 Mon Feb 28 2022 22:46:11