CUDPP 1.1
Public Member Functions | Public Attributes
CUDPPSparseMatrixVectorMultiplyPlan Class Reference

Plan class for sparse-matrix dense-vector multiply. More...

#include <cudpp_plan.h>

Inherits CUDPPPlan.

List of all members.

Public Member Functions

 CUDPPSparseMatrixVectorMultiplyPlan (CUDPPConfiguration config, size_t numNZElts, const void *A, const unsigned int *rowindx, const unsigned int *indx, size_t numRows)
 SparseMatrixVectorMultiply Plan constructor.
virtual ~CUDPPSparseMatrixVectorMultiplyPlan ()
 Sparse matrix-vector plan destructor.

Public Attributes

CUDPPSegmentedScanPlanm_segmentedScanPlan
void * m_d_prod
unsigned int * m_d_flags
unsigned int * m_d_rowFinalIndex
unsigned int * m_d_rowIndex
unsigned int * m_d_index
void * m_d_A
unsigned int * m_rowFinalIndex
size_t m_numRows
 Number of rows.
size_t m_numNonZeroElements
 Number of non-zero elements.

Detailed Description

Plan class for sparse-matrix dense-vector multiply.


Constructor & Destructor Documentation

CUDPPSparseMatrixVectorMultiplyPlan::CUDPPSparseMatrixVectorMultiplyPlan ( CUDPPConfiguration  config,
size_t  numNonZeroElements,
const void *  A,
const unsigned int *  rowIndex,
const unsigned int *  index,
size_t  numRows 
)

SparseMatrixVectorMultiply Plan constructor.

Parameters:
[in]configThe configuration struct specifying options
[in]numNonZeroElementsThe number of non-zero elements in sparse matrix
[in]AArray of non-zero matrix elements
[in]rowIndexArray of indices of the first element of each row in the "flattened" version of the sparse matrix
[in]indexArray of indices of non-zero elements in the matrix
[in]numRowsThe number of rows in the sparse matrix

Member Data Documentation

Performs a segmented scan of type T using this plan

Vector of products (of an element in A and its corresponding (thats is belongs to the same row) element in x; this is the input and output of segmented scan

Vector of flags where a flag is set if an element of A is the first element of its row; this is the flags vector for segmented scan

Vector of row end indices, which for each row specifies an index in A which is the last element of that row. Resides in GPU memory.

Vector of row end indices, which for each row specifies an index in A which is the first element of that row. Resides in GPU memory.

Vector of column numbers one for each element in A

The A matrix

Vector of row end indices, which for each row specifies an index in A which is the last element of that row. Resides in CPU memory.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Enumerations Enumerator Defines