Fermat
|
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 |