<T>LAPACK 0.1.1
C++ Template Linear Algebra PACKage
Loading...
Searching...
No Matches
tlapack::starpu::MatrixEntry< T > Struct Template Reference

Arithmetic data type used by Matrix. More...

#include <MatrixEntry.hpp>

Public Member Functions

 MatrixEntry (const MatrixEntry &)=delete
 
 MatrixEntry (MatrixEntry &&)=delete
 
constexpr MatrixEntry (starpu_data_handle_t root_handle, const idx_t pos[2]) noexcept
 MatrixEntry constructor from a variable handle.
 
template<class U , std::enable_if_t< std::is_same_v< real_type< U >, T >, int > = 0>
constexpr operator MatrixEntry< U > () const noexcept
 Implicit conversion to another object of class MatrixEntry.
 
constexpr operator T () const noexcept
 Implicit conversion to T.
 
template<class U >
constexpr MatrixEntryoperator*= (const MatrixEntry< U > &x) noexcept
 
constexpr MatrixEntryoperator*= (const T &x) noexcept
 
template<class U >
constexpr MatrixEntryoperator+= (const MatrixEntry< U > &x) noexcept
 
constexpr MatrixEntryoperator+= (const T &x) noexcept
 
template<class U >
constexpr MatrixEntryoperator-= (const MatrixEntry< U > &x) noexcept
 
constexpr MatrixEntryoperator-= (const T &x) noexcept
 
template<class U >
constexpr MatrixEntryoperator/= (const MatrixEntry< U > &x) noexcept
 
constexpr MatrixEntryoperator/= (const T &x) noexcept
 
MatrixEntryoperator= (const MatrixEntry &)=delete
 
constexpr MatrixEntryoperator= (const T &x) noexcept
 
template<class U >
constexpr MatrixEntryoperator= (MatrixEntry< U > &&x) noexcept
 
 ~MatrixEntry () noexcept
 Destructor cleans StarPU partition plan.
 

Public Attributes

starpu_data_handle_t handle
 Entry handle.
 
const idx_t pos [2]
 Position of the entry in the matrix.
 
const starpu_data_handle_t root_handle
 Matrix handle.
 

Friends

constexpr friend real_type< T > abs (const MatrixEntry &x) noexcept
 
constexpr friend std::ostream & operator<< (std::ostream &out, const MatrixEntry &x)
 

Detailed Description

template<typename T>
struct tlapack::starpu::MatrixEntry< T >

Arithmetic data type used by Matrix.

This is a wrapper around StarPU variable handles. It is used to perform arithmetic operations on data types stored in StarPU matrices. It uses StarPU tasks to perform the operations.

Note
Mind that operations between variables may create a large overhead due to the creation of StarPU tasks.

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