/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hipcub/checkouts/docs-5.7.0/hipcub/include/hipcub/backend/cub/device/device_spmv.hpp Source File#
device_spmv.hpp
Definition: device_spmv.hpp:41
static __host__ hipError_t CsrMV(void *d_temp_storage, size_t &temp_storage_bytes, ValueT *d_values, int *d_row_offsets, int *d_column_indices, ValueT *d_vector_x, ValueT *d_vector_y, int num_rows, int num_cols, int num_nonzeros, hipStream_t stream=0, bool debug_synchronous=false)
Definition: device_spmv.hpp:66
< Signed integer type for sequence offsets
Definition: device_spmv.hpp:49
int num_cols
Number of columns of matrix A.
Definition: device_spmv.hpp:56
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.
Definition: device_spmv.hpp:51
ValueT * d_values
Pointer to the array of num_nonzeros values of the corresponding nonzero elements of matrix A.
Definition: device_spmv.hpp:50
ValueT * d_vector_y
Pointer to the array of num_rows values corresponding to the dense output vector y
Definition: device_spmv.hpp:54
int num_nonzeros
Number of nonzero elements of matrix A.
Definition: device_spmv.hpp:57
ValueT * d_vector_x
Pointer to the array of num_cols values corresponding to the dense input vector x
Definition: device_spmv.hpp:53
int num_rows
Number of rows of matrix A.
Definition: device_spmv.hpp:55
OffsetT * d_column_indices
Pointer to the array of num_nonzeros column-indices of the corresponding nonzero elements of matrix A...
Definition: device_spmv.hpp:52
ValueT beta
Beta addend-multiplicand.
Definition: device_spmv.hpp:59