From d9249ed4cbec14e8c2527e1f7144d58a3feafd22 Mon Sep 17 00:00:00 2001 From: Gajanan Choudhary Date: Mon, 8 Jan 2024 09:39:30 -0800 Subject: [PATCH] [oneMKL][Sparse BLAS] Reorder CSR matrix arrays in CSR format example --- .../oneMKL/source/domains/spblas/format-descriptions.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/elements/oneMKL/source/domains/spblas/format-descriptions.rst b/source/elements/oneMKL/source/domains/spblas/format-descriptions.rst index ddfa20328..6815ad61b 100644 --- a/source/elements/oneMKL/source/domains/spblas/format-descriptions.rst +++ b/source/elements/oneMKL/source/domains/spblas/format-descriptions.rst @@ -137,11 +137,11 @@ A sparse matrix can be represented in a CSR format in a following way (assuming +------------+------------------------------------------------------------+ | index | 0 | +------------+------------+-----------+-----------+-----------+-----------+ -| val | 1 | 2 | -1 | 4 | 3 | +| row_ptr | 0 | 2 | 4 | 5 | | +------------+------------+-----------+-----------+-----------+-----------+ | col_ind | 0 | 2 | 1 | 2 | 0 | +------------+------------+-----------+-----------+-----------+-----------+ -| row_ptr | 0 | 2 | 4 | 5 | | +| val | 1 | 2 | -1 | 4 | 3 | +------------+------------+-----------+-----------+-----------+-----------+