@@ -51,13 +51,12 @@ CUB_NAMESPACE_BEGIN
5151 * \par Overview
5252 * The [<em>SpMV computation</em>](http://en.wikipedia.org/wiki/Sparse_matrix-vector_multiplication)
5353 * performs the matrix-vector operation
54- * <em>y</em> = <em>alpha</em>*< b>A</b>*<em>x</em> + <em>beta</em>* <em>y</em>,
54+ * <em>y</em> = <b>A</b>*<em>x</em> + <em>y</em>,
5555 * where:
5656 * - <b>A</b> is an <em>m</em>x<em>n</em> sparse matrix whose non-zero structure is specified in
5757 * [<em>compressed-storage-row (CSR) format</em>](http://en.wikipedia.org/wiki/Sparse_matrix#Compressed_row_Storage_.28CRS_or_CSR.29)
5858 * (i.e., three arrays: <em>values</em>, <em>row_offsets</em>, and <em>column_indices</em>)
5959 * - <em>x</em> and <em>y</em> are dense vectors
60- * - <em>alpha</em> and <em>beta</em> are scalar multiplicands
6160 *
6261 * \par Usage Considerations
6362 * \cdp_class{DeviceSpmv}
@@ -106,15 +105,15 @@ struct DeviceSpmv
106105 * size_t temp_storage_bytes = 0;
107106 * cub::DeviceSpmv::CsrMV(d_temp_storage, temp_storage_bytes, d_values,
108107 * d_row_offsets, d_column_indices, d_vector_x, d_vector_y,
109- * num_rows, num_cols, num_nonzeros, alpha, beta );
108+ * num_rows, num_cols, num_nonzeros);
110109 *
111110 * // Allocate temporary storage
112111 * cudaMalloc(&d_temp_storage, temp_storage_bytes);
113112 *
114113 * // Run SpMV
115114 * cub::DeviceSpmv::CsrMV(d_temp_storage, temp_storage_bytes, d_values,
116115 * d_row_offsets, d_column_indices, d_vector_x, d_vector_y,
117- * num_rows, num_cols, num_nonzeros, alpha, beta );
116+ * num_rows, num_cols, num_nonzeros);
118117 *
119118 * // d_vector_y <-- [2, 3, 2, 3, 4, 3, 2, 3, 2]
120119 *
0 commit comments