Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Documentation for cub::DeviceSpmv refers to unused alpha and beta parameters #416

Closed
@WeiqunZhang

Description

There is some inconsistency in the documentation for cub::DeviceSpmv (https://nvlabs.github.io/cub/structcub_1_1_device_spmv.html). The overview says

The SpMV computation performs the matrix-vector operation y = alpha*A*x + beta*y,

But the function signature of CsrMV has neither alpha nor beta, and the function's description says

This function performs the matrix-vector operation y = A*x

However, the code snippet has alpha and beta.

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);

Could someone clarify on this? Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    P0: must haveAbsolutely necessary. Critical issue, major blocker, etc.good first issueGood for newcomers.only: docsDocumentation changes only. Doesn't need code CI.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions