ViennaCL - The Vienna Computing Library  1.7.0
Free open-source GPU-accelerated linear algebra and solver library.
ell_matrix.hpp File Reference

Implementation of the ell_matrix class. More...

Go to the source code of this file.

Classes

class  viennacl::ell_matrix< NumericT, AlignmentV >
 Sparse matrix class using the ELLPACK format for storing the nonzeros. More...
 

Namespaces

 viennacl
 Main namespace in ViennaCL. Holds all the basic types such as vector, matrix, etc. and defines operations upon them.
 

Functions

template<typename CPUMatrixT , typename NumericT , unsigned int AlignmentV>
void viennacl::copy (const CPUMatrixT &cpu_matrix, ell_matrix< NumericT, AlignmentV > &gpu_matrix)
 
template<typename IndexT , typename NumericT , unsigned int AlignmentV>
void viennacl::copy (std::vector< std::map< IndexT, NumericT > > const &cpu_matrix, ell_matrix< NumericT, AlignmentV > &gpu_matrix)
 Copies a sparse matrix from the host to the compute device. The host type is the std::vector< std::map < > > format . More...
 
template<typename CPUMatrixT , typename NumericT , unsigned int AlignmentV>
void viennacl::copy (const ell_matrix< NumericT, AlignmentV > &gpu_matrix, CPUMatrixT &cpu_matrix)
 
template<typename NumericT , unsigned int AlignmentV, typename IndexT >
void viennacl::copy (const ell_matrix< NumericT, AlignmentV > &gpu_matrix, std::vector< std::map< IndexT, NumericT > > &cpu_matrix)
 Copies a sparse matrix from the compute device to the host. The host type is the std::vector< std::map < > > format . More...
 

Detailed Description

Implementation of the ell_matrix class.

Contributed by Volodymyr Kysenko.

Definition in file ell_matrix.hpp.