Template Struct DeviceSpmv::SpmvParams

Nested Relationships

This struct is a nested type of Class DeviceSpmv.

Struct Documentation

template<typename ValueT, typename OffsetT>
struct hipcub::DeviceSpmv::SpmvParams

< Signed integer type for sequence offsets

Public Members

ValueT *d_values

Pointer to the array of num_nonzeros values of the corresponding nonzero elements of matrix A.

OffsetT *d_row_end_offsets

Pointer to the array of m offsets demarcating the end of every row in d_column_indices and d_values.

OffsetT *d_column_indices

Pointer to the array of num_nonzeros column-indices of the corresponding nonzero elements of matrix A. (Indices are zero-valued.)

ValueT *d_vector_x

Pointer to the array of num_cols values corresponding to the dense input vector x

ValueT *d_vector_y

Pointer to the array of num_rows values corresponding to the dense output vector y

int num_rows

Number of rows of matrix A.

int num_cols

Number of columns of matrix A.

int num_nonzeros

Number of nonzero elements of matrix A.

ValueT alpha

Alpha multiplicand.

ValueT beta

Beta addend-multiplicand.

::cub::TexRefInputIterator<ValueT, 66778899, OffsetT> t_vector_x
::hipcub::TexRefInputIterator<ValueT, 66778899, OffsetT> t_vector_x