[clblas] 61/75: x offset stored in offb, not offa, determines vectorization

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Jan 24 23:30:46 UTC 2017


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch debian/master
in repository clblas.

commit 0e0c95c2b686d895118c0a7f3e4ca2cfd2c5d422
Author: Mark Gates <mgates3 at utk.edu>
Date:   Fri Oct 7 16:49:55 2016 -0400

    x offset stored in offb, not offa, determines vectorization
---
 src/library/blas/gens/iamax.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/library/blas/gens/iamax.cpp b/src/library/blas/gens/iamax.cpp
index 13928a8..0062943 100644
--- a/src/library/blas/gens/iamax.cpp
+++ b/src/library/blas/gens/iamax.cpp
@@ -108,7 +108,7 @@ selectVectorization(
 	KernelExtraFlags kflags = KEXTRA_NO_FLAGS;
 	CLBlasKargs *kargs  = (CLBlasKargs *)args;
 
-    if( (((kargs->offa) % vlen) != 0))
+    if( (((kargs->offb) % vlen) != 0))
     {
         kflags = KEXTRA_NO_COPY_VEC_A;
     }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/clblas.git



More information about the debian-science-commits mailing list