Fermat
Public Types | Public Methods | Public Members | List of all members
cugar::device_var< T > Struct Template Reference

Detailed description

template<typename T>
struct cugar::device_var< T >

A container for device variables

#include <vector.h>

Public Types

typedef thrust::device_vector< T >::const_reference const_reference
 
typedef thrust::device_vector< T >::reference reference
 

Public Methods

 device_var (const T val=T())
 
device_var< T > & operator= (const T &val)
 
device_var< T > & operator+= (const T &val)
 
device_var< T > & operator-= (const T &val)
 
 operator T () const
 
const T * ptr () const
 
T * ptr ()
 

Public Members

device_vector< T > x
 

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