Ginkgo Generated from branch based on main. Ginkgo version 1.11.0
A numerical linear algebra library targeting many-core architectures
Loading...
Searching...
No Matches
gko::matrix::Csr< ValueType, IndexType >::multiply_add_reuse_info Class Reference

Class describing the internal lookup structures created by multiply_add_reuse to recompute a sparse matrix-matrix product with updated values. More...

#include <ginkgo/core/matrix/csr.hpp>

Public Member Functions

 multiply_add_reuse_info (const multiply_add_reuse_info &)=delete
 multiply_add_reuse_info (multiply_add_reuse_info &&) noexcept
multiply_add_reuse_info & operator= (const multiply_add_reuse_info &)=delete
multiply_add_reuse_info & operator= (multiply_add_reuse_info &&) noexcept
void update_values (ptr_param< const Csr > mtx, ptr_param< const Dense< value_type > > scale_mult, ptr_param< const Csr > mtx_mult, ptr_param< const Dense< value_type > > scale_add, ptr_param< const Csr > mtx_add, ptr_param< Csr > out) const
 Recomputes the sparse matrix-matrix product out = scale_mult * mtx * mtx_mult + scale_add * mtx_add when only the values of mtx, scale_mult, mtx_mult, scale_add, mtx_add changed, but the sparsity patterns of mtx, mtx_mult, mtx_add and out are unchanged.

Friends

class Csr

Detailed Description

template<typename ValueType = default_precision, typename IndexType = int32>
class gko::matrix::Csr< ValueType, IndexType >::multiply_add_reuse_info

Class describing the internal lookup structures created by multiply_add_reuse to recompute a sparse matrix-matrix product with updated values.


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