From 4a5c183cd12014eaf8484a54c1809cf9ce921c7a Mon Sep 17 00:00:00 2001 From: Mohammad Almasri Date: Tue, 14 May 2024 07:07:11 -0700 Subject: [PATCH] Fix SpSV equation and add more details to SpSv and SpSM --- cuSPARSE/spsm_coo/README.md | 2 +- cuSPARSE/spsm_csr/README.md | 2 +- cuSPARSE/spsv_coo/README.md | 4 ++-- cuSPARSE/spsv_csr/README.md | 6 ++---- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/cuSPARSE/spsm_coo/README.md b/cuSPARSE/spsm_coo/README.md index 0e936b25..3b791feb 100644 --- a/cuSPARSE/spsm_coo/README.md +++ b/cuSPARSE/spsm_coo/README.md @@ -2,7 +2,7 @@ ## Description -This sample demonstrates the usage of `cusparseSpSM` for performing *sparse triangular solver with multiple right-hand sides*, where the sparse matrix is represented in COO (Coordinate) storage format. +This sample demonstrates the usage of `cusparseSpSM` for performing *sparse triangular solver with multiple right-hand sides*, where the sparse matrix is represented in COO (Coordinate) storage format. The solver is configured with `CUSPARSE_FILL_MODE_LOWER` for the fill mode, indicating that only the lower triangular part of the matrix is used, and `CUSPARSE_DIAG_TYPE_NON_UNIT` for the diagonal type. [cusparseSpSM Documentation](https://docs.nvidia.com/cuda/cusparse/index.html#cusparse-generic-function-spsm) diff --git a/cuSPARSE/spsm_csr/README.md b/cuSPARSE/spsm_csr/README.md index af7205ce..8df08830 100644 --- a/cuSPARSE/spsm_csr/README.md +++ b/cuSPARSE/spsm_csr/README.md @@ -2,7 +2,7 @@ ## Description -This sample demonstrates the usage of `cusparseSpSM` for performing *sparse triangular solver with multiple right-hand sides*, where the sparse matrix is represented in CSR (Compressed Sparse Row) storage format. +This sample demonstrates the usage of `cusparseSpSM` for performing *sparse triangular solver with multiple right-hand sides*, where the sparse matrix is represented in CSR (Compressed Sparse Row) storage format. The solver is configured with `CUSPARSE_FILL_MODE_LOWER` for the fill mode, indicating that only the lower triangular part of the matrix is used, and `CUSPARSE_DIAG_TYPE_NON_UNIT` for the diagonal type. [cusparseSpSM Documentation](https://docs.nvidia.com/cuda/cusparse/index.html#cusparse-generic-function-spsm) diff --git a/cuSPARSE/spsv_coo/README.md b/cuSPARSE/spsv_coo/README.md index f775db2c..e6e012ec 100644 --- a/cuSPARSE/spsv_coo/README.md +++ b/cuSPARSE/spsv_coo/README.md @@ -2,13 +2,13 @@ ## Description -This sample demonstrates the usage of `cusparseSpSV` for performing *sparse triangular solver with single right-hand side*, where the sparse matrix is represented in COO (Coordinate) storage format. +This sample demonstrates the usage of `cusparseSpSV` for performing *sparse triangular solver with single right-hand side*, where the sparse matrix is represented in COO (Coordinate) storage format. The solver is configured with `CUSPARSE_FILL_MODE_LOWER` for the fill mode, indicating that only the lower triangular part of the matrix is used, and `CUSPARSE_DIAG_TYPE_NON_UNIT` for the diagonal type. [cusparseSpSV Documentation](https://docs.nvidia.com/cuda/cusparse/index.html#cusparse-generic-function-spsv)
-`op(A) * Y = alpha * X` +`op(A) * X = alpha * Y`, where `X` is the output dense vector and `op(Y)` is the input dense vector (RHS). ![](spsv_coo.png)
diff --git a/cuSPARSE/spsv_csr/README.md b/cuSPARSE/spsv_csr/README.md index 8d031997..6d922772 100644 --- a/cuSPARSE/spsv_csr/README.md +++ b/cuSPARSE/spsv_csr/README.md @@ -2,13 +2,11 @@ ## Description -This sample demonstrates the usage of `cusparseSpSV` for performing *sparse triangular solver with single right-hand side*, where the sparse matrix is represented in CSR (Compressed Sparse Row) storage format. - -[cusparseSpSV Documentation](https://docs.nvidia.com/cuda/cusparse/index.html#cusparse-generic-function-spsv) +This sample demonstrates the usage of `cusparseSpSV` for performing *sparse triangular solver with single right-hand side*, where the sparse matrix is represented in CSR (Compressed Sparse Row) storage format. The solver is configured with `CUSPARSE_FILL_MODE_LOWER` for the fill mode, indicating that only the lower triangular part of the matrix is used, and `CUSPARSE_DIAG_TYPE_NON_UNIT` for the diagonal type.
-`op(A) * Y = alpha * X` +`op(A) * X = alpha * Y`, where `X` is the output dense vector and `op(Y)` is the input dense vector (RHS). ![](spsv_csr.png)