InputVectorDirect< TIn, TOut > Class Template Reference

Direct access to a vector in global memory TIn is the data type as stored in memory TOut is the data type as requested. More...

#include <CudaTexture.h>

Inheritance diagram for InputVectorDirect< TIn, TOut >:

Inheritance graph
[legend]

Public Member Functions

__host__ void set (const TIn *)
__inline__ __device__ TOut get (int i, const TIn *x)

Detailed Description

template<class TIn, class TOut>
class InputVectorDirect< TIn, TOut >

Direct access to a vector in global memory TIn is the data type as stored in memory TOut is the data type as requested.

Definition at line 40 of file CudaTexture.h.


Member Function Documentation

template<class TIn , class TOut >
__inline__ __device__ TOut InputVectorDirect< TIn, TOut >::get ( int  i,
const TIn *  x 
) [inline]

Definition at line 44 of file CudaTexture.h.

template<class TIn , class TOut >
__host__ void InputVectorDirect< TIn, TOut >::set ( const TIn *   )  [inline]

Definition at line 43 of file CudaTexture.h.


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

Generated on Sun Nov 23 04:12:53 2008 for Sofa by  doxygen 1.5.7.1