Ginkgo  Generated from pipelines/2567305205 branch based on develop. Ginkgo version 2.0.0
A numerical linear algebra library targeting many-core architectures
Public Member Functions | Public Attributes | List of all members
gko::matrix::view::hybrid< ValueType, IndexType > Struct Template Reference

Non-owning view of a matrix::Hybrid to be used inside device kernels. More...

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

Collaboration diagram for gko::matrix::view::hybrid< ValueType, IndexType >:
[legend]

Public Member Functions

constexpr hybrid (ell< ValueType, IndexType > ell_, coo< ValueType, IndexType > coo_)
 Constructs a hybrid view.
 
constexpr hybrid< const ValueType, const IndexType > as_const () const
 Returns a const view of the same values.
 

Public Attributes

dim< 2 > size
 
ell< ValueType, IndexType > ell_part
 
coo< ValueType, IndexType > coo_part
 

Detailed Description

template<typename ValueType, typename IndexType>
struct gko::matrix::view::hybrid< ValueType, IndexType >

Non-owning view of a matrix::Hybrid to be used inside device kernels.

This type is used to provide a simple and stable ABI for passing data between libraries.

Template Parameters
ValueTypethe value type used to store matrix values.
IndexTypethe index type used to store matrix columns.

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