LAMA
lama::ELLUtilsInterface::Conversions< ELLValueType, CSRValueType > Struct Template Reference

Conversion routines between ELL and CSR storage format. More...

#include <LAMAInterface.hpp>

Public Types

typedef void(* getCSRValues )(IndexType csrJA[], CSRValueType csrValues[], const IndexType csrIA[], const IndexType numRows, const IndexType ellSizes[], const IndexType ellJA[], const ELLValueType ellValues[])
 Conversion from ELL data to CSR data.
typedef void(* setCSRValues )(IndexType ellJA[], ELLValueType ellValues[], const IndexType ellSizes[], const IndexType numRows, const IndexType numValuesPerRow, const IndexType csrIA[], const IndexType csrJA[], const CSRValueType csrValues[])
 Conversion from CSR data to ELL data.

Detailed Description

template<typename ELLValueType, typename CSRValueType>
struct lama::ELLUtilsInterface::Conversions< ELLValueType, CSRValueType >

Conversion routines between ELL and CSR storage format.


Member Typedef Documentation

template<typename ELLValueType , typename CSRValueType >
typedef void( * lama::ELLUtilsInterface::Conversions< ELLValueType, CSRValueType >::getCSRValues)(IndexType csrJA[], CSRValueType csrValues[], const IndexType csrIA[], const IndexType numRows, const IndexType ellSizes[], const IndexType ellJA[], const ELLValueType ellValues[])

Conversion from ELL data to CSR data.

Parameters:
[out]csrJAwill contain the column indexes
[out]csrValueswill contain the matrix elements
[in]csrIAis the array with the offsets (must already be available before)
[in]numRowsis number of rows
[in]ellSizesis the number of values in each row
[in]ellJAare the column indexes for ELL format
[in]ellValuesare the stored matrix values for ELL format
template<typename ELLValueType , typename CSRValueType >
typedef void( * lama::ELLUtilsInterface::Conversions< ELLValueType, CSRValueType >::setCSRValues)(IndexType ellJA[], ELLValueType ellValues[], const IndexType ellSizes[], const IndexType numRows, const IndexType numValuesPerRow, const IndexType csrIA[], const IndexType csrJA[], const CSRValueType csrValues[])

Conversion from CSR data to ELL data.


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