LAMA
|
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. |
Conversion routines between ELL and CSR storage format.
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.
[out] | csrJA | will contain the column indexes |
[out] | csrValues | will contain the matrix elements |
[in] | csrIA | is the array with the offsets (must already be available before) |
[in] | numRows | is number of rows |
[in] | ellSizes | is the number of values in each row |
[in] | ellJA | are the column indexes for ELL format |
[in] | ellValues | are the stored matrix values for ELL format |
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.