@@ -226,9 +226,9 @@ for (fname, elty) in (
226
226
(mA == nA == mB == nB == mC == nC) || throw (DimensionMismatch (" The first two dimensions of A, B and C must match" ))
227
227
(nblocksA == nblocksB - 1 == nblocksC) || throw (DimensionMismatch (" Inconsistency for the last dimension of A, B and C" ))
228
228
229
- lda = max (1 , stride (A, 3 ))
230
- ldb = max (1 , stride (B, 3 ))
231
- ldc = max (1 , stride (C, 3 ))
229
+ lda = max (1 , stride (A, 2 ))
230
+ ldb = max (1 , stride (B, 2 ))
231
+ ldc = max (1 , stride (C, 2 ))
232
232
233
233
devinfo = ROCArray {Cint} (undef, 1 )
234
234
$ fname (rocBLAS. handle (), mB, nblocksB, A, lda, B, ldb, C, ldc, devinfo)
@@ -252,15 +252,14 @@ for (fname, elty) in (
252
252
mB, nB, nblocksB = size (B)
253
253
mC, nC, nblocksC = size (C)
254
254
mX, nblocksX, nrhs = size (X)
255
- nrhs = size (X, 2 )
256
255
(mA == nA == mB == nB == mC == nC) || throw (DimensionMismatch (" The first two dimensions of A, B and C must match" ))
257
256
(mX == mA) || throw (DimensionMismatch (" The first dimension of X is inconsistent with first two dimensions of A, B and C" ))
258
257
(nblocksA == nblocksB - 1 == nblocksX - 1 == nblocksC) || throw (DimensionMismatch (" Inconsistency for the number of blocks in A, B, C and X" ))
259
258
260
- lda = max (1 , stride (A, 3 ))
261
- ldb = max (1 , stride (B, 3 ))
262
- ldc = max (1 , stride (C, 3 ))
263
- ldx = max (1 , stride (X, 3 ))
259
+ lda = max (1 , stride (A, 2 ))
260
+ ldb = max (1 , stride (B, 2 ))
261
+ ldc = max (1 , stride (C, 2 ))
262
+ ldx = max (1 , stride (X, 2 ))
264
263
265
264
$ fname (rocBLAS. handle (), mB, nblocksB, nrhs, A, lda, B, ldb, C, ldc, X, ldx)
266
265
X
0 commit comments