remora::matrix_transport_to_gpu< E > Class Template Reference

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

+ Inheritance diagram for remora::matrix_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::orientation orientation
 
typedef E::const_row_iterator const_row_iterator
 
typedef E::const_column_iterator const_column_iterator
 
typedef const_row_iterator row_iterator
 
typedef const_column_iterator column_iterator
 

Public Member Functions

 matrix_transport_to_gpu (expression_closure_type const &expression, boost::compute::command_queue &queue)
 
size_type size1 () const
 
size_type size2 () const
 
expression_closure_type const & expression () const
 
boost::compute::command_queue & queue () const
 
template<class MatX >
void assign_to (matrix_expression< MatX, gpu_tag > &X, value_type const &alpha=value_type(1)) const
 
template<class MatX >
void plus_assign_to (matrix_expression< MatX, gpu_tag > &X, value_type const &alpha=value_type(1)) const
 
template<class MatX >
void minus_assign_to (matrix_expression< MatX, cpu_tag > &X, value_type alpha=value_type(1)) const
 
- Public Member Functions inherited from remora::matrix_expression< matrix_transport_to_gpu< E >, gpu_tag >
const expression_type & operator() () const
 
expression_type & operator() ()
 

Detailed Description

template<class E>
class remora::matrix_transport_to_gpu< E >

Definition at line 402 of file copy.hpp.

Member Typedef Documentation

◆ column_iterator

Definition at line 422 of file copy.hpp.

◆ const_column_iterator

template<class E >
typedef E::const_column_iterator remora::matrix_transport_to_gpu< E >::const_column_iterator

Definition at line 420 of file copy.hpp.

◆ const_reference

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

Definition at line 408 of file copy.hpp.

◆ const_row_iterator

template<class E >
typedef E::const_row_iterator remora::matrix_transport_to_gpu< E >::const_row_iterator

Definition at line 419 of file copy.hpp.

◆ evaluation_category

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

Definition at line 415 of file copy.hpp.

◆ orientation

template<class E >
typedef E::orientation remora::matrix_transport_to_gpu< E >::orientation

Definition at line 416 of file copy.hpp.

◆ reference

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

Definition at line 409 of file copy.hpp.

◆ row_iterator

Definition at line 421 of file copy.hpp.

Constructor & Destructor Documentation

◆ matrix_transport_to_gpu()

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

Definition at line 425 of file copy.hpp.

Member Function Documentation

◆ assign_to()

template<class E >
template<class MatX >
void remora::matrix_transport_to_gpu< E >::assign_to ( matrix_expression< MatX, gpu_tag > &  X,
value_type const &  alpha = value_type(1) 
) const
inline

Definition at line 445 of file copy.hpp.

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

◆ expression()

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

Definition at line 436 of file copy.hpp.

◆ minus_assign_to()

template<class E >
template<class MatX >
void remora::matrix_transport_to_gpu< E >::minus_assign_to ( matrix_expression< MatX, cpu_tag > &  X,
value_type  alpha = value_type(1) 
) const
inline

◆ plus_assign_to()

template<class E >
template<class MatX >
void remora::matrix_transport_to_gpu< E >::plus_assign_to ( matrix_expression< MatX, gpu_tag > &  X,
value_type const &  alpha = value_type(1) 
) const
inline

Definition at line 449 of file copy.hpp.

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

◆ queue()

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

Definition at line 439 of file copy.hpp.

◆ size1()

template<class E >
size_type remora::matrix_transport_to_gpu< E >::size1 ( ) const
inline

Definition at line 430 of file copy.hpp.

◆ size2()

template<class E >
size_type remora::matrix_transport_to_gpu< E >::size2 ( ) const
inline

Definition at line 433 of file copy.hpp.


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