remora::vector_transport_to_gpu< E > Class Template Reference

#include <shark/LinAlg/BLAS/gpu/copy.hpp>

+ Inheritance diagram for remora::vector_transport_to_gpu< E >:

Public Types

typedef value_type const & const_reference
 
typedef const_reference reference
 
typedef blockwise< typename E::evaluation_category::tag > evaluation_category
 
typedef E::const_iterator const_iterator
 
typedef const_iterator iterator
 

Public Member Functions

 vector_transport_to_gpu (expression_closure_type const &expression, boost::compute::command_queue &queue)
 
size_type size () const
 
expression_closure_type const & expression () const
 
boost::compute::command_queue & queue () const
 
template<class VecX >
void assign_to (vector_expression< VecX, gpu_tag > &x, value_type const &alpha=value_type(1)) const
 
template<class VecX >
void plus_assign_to (vector_expression< VecX, gpu_tag > &x, value_type const &alpha=value_type(1)) const
 
template<class VecX >
void minus_assign_to (vector_expression< VecX, gpu_tag > &x, value_type alpha=value_type(1)) const
 
- Public Member Functions inherited from remora::vector_expression< vector_transport_to_gpu< E >, gpu_tag >
const expression_type & operator() () const
 
expression_type & operator() ()
 

Detailed Description

template<class E>
class remora::vector_transport_to_gpu< E >

Definition at line 167 of file copy.hpp.

Member Typedef Documentation

◆ const_iterator

template<class E >
typedef E::const_iterator remora::vector_transport_to_gpu< E >::const_iterator

Definition at line 184 of file copy.hpp.

◆ const_reference

template<class E >
typedef value_type const& remora::vector_transport_to_gpu< E >::const_reference

Definition at line 173 of file copy.hpp.

◆ evaluation_category

template<class E >
typedef blockwise<typename E::evaluation_category::tag> remora::vector_transport_to_gpu< E >::evaluation_category

Definition at line 180 of file copy.hpp.

◆ iterator

template<class E >
typedef const_iterator remora::vector_transport_to_gpu< E >::iterator

Definition at line 185 of file copy.hpp.

◆ reference

template<class E >
typedef const_reference remora::vector_transport_to_gpu< E >::reference

Definition at line 174 of file copy.hpp.

Constructor & Destructor Documentation

◆ vector_transport_to_gpu()

template<class E >
remora::vector_transport_to_gpu< E >::vector_transport_to_gpu ( expression_closure_type const &  expression,
boost::compute::command_queue &  queue 
)
inlineexplicit

Definition at line 188 of file copy.hpp.

Member Function Documentation

◆ assign_to()

template<class E >
template<class VecX >
void remora::vector_transport_to_gpu< E >::assign_to ( vector_expression< VecX, gpu_tag > &  x,
value_type const &  alpha = value_type(1) 
) const
inline

Definition at line 205 of file copy.hpp.

References remora::vector_transport_to_cpu< E >::assign_to().

◆ expression()

template<class E >
expression_closure_type const& remora::vector_transport_to_gpu< E >::expression ( ) const
inline

Definition at line 196 of file copy.hpp.

◆ minus_assign_to()

template<class E >
template<class VecX >
void remora::vector_transport_to_gpu< E >::minus_assign_to ( vector_expression< VecX, gpu_tag > &  x,
value_type  alpha = value_type(1) 
) const
inline

◆ plus_assign_to()

template<class E >
template<class VecX >
void remora::vector_transport_to_gpu< E >::plus_assign_to ( vector_expression< VecX, gpu_tag > &  x,
value_type const &  alpha = value_type(1) 
) const
inline

Definition at line 209 of file copy.hpp.

References remora::vector_transport_to_cpu< E >::plus_assign_to().

◆ queue()

template<class E >
boost::compute::command_queue& remora::vector_transport_to_gpu< E >::queue ( ) const
inline

Definition at line 199 of file copy.hpp.

◆ size()

template<class E >
size_type remora::vector_transport_to_gpu< E >::size ( ) const
inline

Definition at line 193 of file copy.hpp.


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