[clblas] 41/125: fix bug in ssyrk, now use only uint for mad24

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Fri May 29 06:57:20 UTC 2015


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

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

commit 4ee2b8fabdceaef8f5d26566783df9365529ebe0
Author: AMD-FirePro <FirePro.Developers at amd.com>
Date:   Thu Nov 21 20:48:10 2013 +0000

    fix bug in ssyrk, now use only uint for mad24
    
    The problem is only visible if we tune syrk for single precision.
---
 src/library/blas/gens/syrxk.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/library/blas/gens/syrxk.c b/src/library/blas/gens/syrxk.c
index a0f6a29..e4a00ee 100644
--- a/src/library/blas/gens/syrxk.c
+++ b/src/library/blas/gens/syrxk.c
@@ -1401,7 +1401,7 @@ genUpdateGenericDiagTile(
                                 "cc%u = ((%s)mask &\n"
                                 "       %s) >>\n"
                                 "      %s;\n"
-                                "cc%u = %u - mad24(cc%u, %s, 0);\n",
+                                "cc%u = %u - mad24(cc%u, %s, 0u);\n",
 
                                 iter.row,
                                 (1 << (nrCols - 1)),
@@ -1416,7 +1416,7 @@ genUpdateGenericDiagTile(
                                 "cc%u = ((%s)mask &\n"
                                 "       %s) >>\n"
                                 "      %s;\n"
-                                "cc%u = mad24(cc%u, %s, 0);\n",
+                                "cc%u = mad24(cc%u, %s, 0u);\n",
 
                                 nrRows - 1, iter.row,
                                 i, vctype.buf, constMasks.buf, constShifts.buf,

-- 
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