Distributed Ranges
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
dr::mp::csr_row_distribution< T, I, BackendT > Class Template Reference

Public Types

using value_type = dr::matrix_entry< T, I >
 
using segment_type = csr_row_segment< csr_row_distribution >
 
using elem_type = T
 
using index_type = I
 
using difference_type = std::ptrdiff_t
 

Public Member Functions

 csr_row_distribution (const csr_row_distribution &)=delete
 
csr_row_distributionoperator= (const csr_row_distribution &)=delete
 
 csr_row_distribution (csr_row_distribution &&)
 
 csr_row_distribution (dr::views::csr_matrix_view< T, I > csr_view, distribution dist=distribution(), std::size_t root=0)
 
std::size_t get_id_in_segment (std::size_t offset) const
 
std::size_t get_segment_from_offset (std::size_t offset) const
 
auto segments () const
 
auto nnz () const
 
auto shape () const
 
void fence () const
 
template<typename C >
auto local_gemv (C &res, T *vals, std::size_t vals_width) const
 
template<typename C >
auto local_gemv_and_collect (std::size_t root, C &res, T *&vals, std::size_t vals_width) const
 

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