Skip to content

Commit db3ac2a

Browse files
authored
[LAPACK] Fix stride_{a,b} descriptions in getrs_batch functionality in LAPACK domain of oneMKL (#441)
* Update getrs_batch.rst Add missing stride_b description and update stride_a description to refer to A matrices instead of B matrices. * Update getrs_batch_scratchpad_size.rst Add missing stride_b description and update stride_a description to refer to A matrices instead of B matrices. Also fix formatting in stride_ipiv description.
1 parent 6e7b191 commit db3ac2a

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

source/elements/oneMKL/source/domains/lapack/getrs_batch.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ lda
7979
Leading dimension of :math:`A_i`.
8080

8181
stride_a
82-
Stride between the beginnings of matrices :math:`B_i` inside the batch array ``b``.
82+
Stride between the beginnings of matrices :math:`A_i` inside the batch array ``a``.
8383

8484
ipiv
8585
``ipiv`` array, as returned by the Strided API of the :ref:`onemkl_lapack_getrf_batch_buffer` function.
@@ -93,6 +93,9 @@ b
9393
ldb
9494
Leading dimension of :math:`B_i`.
9595

96+
stride_b
97+
Stride between the beginnings of matrices :math:`B_i` inside the batch array ``b``.
98+
9699
batch_size
97100
Specifies the number of problems in a batch.
98101

@@ -291,7 +294,7 @@ lda
291294
Leading dimension of :math:`A_i`.
292295

293296
stride_a
294-
Stride between the beginnings of matrices :math:`B_i` inside the batch array ``b``.
297+
Stride between the beginnings of matrices :math:`A_i` inside the batch array ``a``.
295298

296299
ipiv
297300
``ipiv`` array, as returned by getrf_batch (USM) function.
@@ -305,6 +308,9 @@ b
305308
ldb
306309
Leading dimensions of :math:`B_i`.
307310

311+
stride_b
312+
Stride between the beginnings of matrices :math:`B_i` inside the batch array ``b``.
313+
308314
batch_size
309315
Number of problems in a batch.
310316

source/elements/oneMKL/source/domains/lapack/getrs_batch_scratchpad_size.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,17 @@ lda
129129
Leading dimension of :math:`A_i`.
130130

131131
stride_a
132-
Stride between the beginnings of matrices :math:`B_i` inside the batch array ``b``.
132+
Stride between the beginnings of matrices :math:`A_i` inside the batch array ``a``.
133133

134134
stride_ipiv
135-
Stride between the beginnings of arrays ipivi inside the array ``ipiv``.
135+
Stride between the beginnings of arrays :math:`ipiv_i` inside the array ``ipiv``.
136136

137137
ldb
138138
Leading dimension of :math:`B_i`.
139139

140+
stride_b
141+
Stride between the beginnings of matrices :math:`B_i` inside the batch array ``b``.
142+
140143
batch_size
141144
Number of problems in a batch.
142145

0 commit comments

Comments
 (0)