Skip to content

Commit 0e0c95c

Browse files
author
Mark Gates
committed
x offset stored in offb, not offa, determines vectorization
1 parent b96c1a0 commit 0e0c95c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/library/blas/gens/iamax.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ selectVectorization(
108108
KernelExtraFlags kflags = KEXTRA_NO_FLAGS;
109109
CLBlasKargs *kargs = (CLBlasKargs *)args;
110110

111-
if( (((kargs->offa) % vlen) != 0))
111+
if( (((kargs->offb) % vlen) != 0))
112112
{
113113
kflags = KEXTRA_NO_COPY_VEC_A;
114114
}

0 commit comments

Comments
 (0)