NTrace
GPU ray tracing framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
FW::CudaKernel::Param Struct Reference

#include <CudaKernel.hpp>

Public Member Functions

template<class T >
 Param (const T &v)
 
template<class T >
 Param (const T *ptr, int num=1)
 
template<class T >
 Param (T *ptr, int num=1)
 
template<class T >
 Param (const Array< T > &v)
 
template<class T >
 Param (Array< T > &v)
 
template<class T >
 Param (const Array64< T > &v)
 
template<class T >
 Param (Array64< T > &v)
 
 Param (Buffer &v)
 
 Param (const Image &v)
 
 Param (Image &v)
 
void setCudaPtr (CUdeviceptr ptr)
 

Public Attributes

S32 size
 
S32 align
 
const voidvalue
 
CUdeviceptr cudaPtr
 
Buffer buffer
 

Detailed Description

Definition at line 51 of file CudaKernel.hpp.

Constructor & Destructor Documentation

template<class T >
FW::CudaKernel::Param::Param ( const T &  v)
inline

Definition at line 59 of file CudaKernel.hpp.

template<class T >
FW::CudaKernel::Param::Param ( const T *  ptr,
int  num = 1 
)
inline

Definition at line 60 of file CudaKernel.hpp.

template<class T >
FW::CudaKernel::Param::Param ( T *  ptr,
int  num = 1 
)
inline

Definition at line 61 of file CudaKernel.hpp.

template<class T >
FW::CudaKernel::Param::Param ( const Array< T > &  v)
inline

Definition at line 62 of file CudaKernel.hpp.

template<class T >
FW::CudaKernel::Param::Param ( Array< T > &  v)
inline

Definition at line 63 of file CudaKernel.hpp.

template<class T >
FW::CudaKernel::Param::Param ( const Array64< T > &  v)
inline

Definition at line 64 of file CudaKernel.hpp.

template<class T >
FW::CudaKernel::Param::Param ( Array64< T > &  v)
inline

Definition at line 65 of file CudaKernel.hpp.

FW::CudaKernel::Param::Param ( Buffer v)
inline

Definition at line 66 of file CudaKernel.hpp.

FW::CudaKernel::Param::Param ( const Image v)
inline

Definition at line 67 of file CudaKernel.hpp.

FW::CudaKernel::Param::Param ( Image v)
inline

Definition at line 68 of file CudaKernel.hpp.

Member Function Documentation

void FW::CudaKernel::Param::setCudaPtr ( CUdeviceptr  ptr)
inline

Definition at line 69 of file CudaKernel.hpp.

Member Data Documentation

S32 FW::CudaKernel::Param::align

Definition at line 54 of file CudaKernel.hpp.

Buffer FW::CudaKernel::Param::buffer

Definition at line 57 of file CudaKernel.hpp.

CUdeviceptr FW::CudaKernel::Param::cudaPtr

Definition at line 56 of file CudaKernel.hpp.

S32 FW::CudaKernel::Param::size

Definition at line 53 of file CudaKernel.hpp.

const void* FW::CudaKernel::Param::value

Definition at line 55 of file CudaKernel.hpp.


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