diff --git a/cub/device/device_spmv.cuh b/cub/device/device_spmv.cuh index 7235077218..8a1250a471 100644 --- a/cub/device/device_spmv.cuh +++ b/cub/device/device_spmv.cuh @@ -51,13 +51,12 @@ CUB_NAMESPACE_BEGIN * \par Overview * The [SpMV computation](http://en.wikipedia.org/wiki/Sparse_matrix-vector_multiplication) * performs the matrix-vector operation - * y = alpha*A*x + beta*y, + * y = A*x + y, * where: * - A is an mxn sparse matrix whose non-zero structure is specified in * [compressed-storage-row (CSR) format](http://en.wikipedia.org/wiki/Sparse_matrix#Compressed_row_Storage_.28CRS_or_CSR.29) * (i.e., three arrays: values, row_offsets, and column_indices) * - x and y are dense vectors - * - alpha and beta are scalar multiplicands * * \par Usage Considerations * \cdp_class{DeviceSpmv} @@ -106,7 +105,7 @@ struct DeviceSpmv * size_t temp_storage_bytes = 0; * cub::DeviceSpmv::CsrMV(d_temp_storage, temp_storage_bytes, d_values, * d_row_offsets, d_column_indices, d_vector_x, d_vector_y, - * num_rows, num_cols, num_nonzeros, alpha, beta); + * num_rows, num_cols, num_nonzeros); * * // Allocate temporary storage * cudaMalloc(&d_temp_storage, temp_storage_bytes); @@ -114,7 +113,7 @@ struct DeviceSpmv * // Run SpMV * cub::DeviceSpmv::CsrMV(d_temp_storage, temp_storage_bytes, d_values, * d_row_offsets, d_column_indices, d_vector_x, d_vector_y, - * num_rows, num_cols, num_nonzeros, alpha, beta); + * num_rows, num_cols, num_nonzeros); * * // d_vector_y <-- [2, 3, 2, 3, 4, 3, 2, 3, 2] *