From e0192a6914a13cbf5836f59583df816ca31a14c3 Mon Sep 17 00:00:00 2001 From: wernsaar Date: Thu, 11 Sep 2014 13:18:00 +0200 Subject: [PATCH] bugfix in zgemv_n_4.c --- kernel/x86_64/KERNEL.HASWELL | 4 ++-- kernel/x86_64/zgemv_n_4.c | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/kernel/x86_64/KERNEL.HASWELL b/kernel/x86_64/KERNEL.HASWELL index 8aab560..fc4a4c7 100644 --- a/kernel/x86_64/KERNEL.HASWELL +++ b/kernel/x86_64/KERNEL.HASWELL @@ -4,10 +4,10 @@ SGEMVTKERNEL = sgemv_t_4.c DGEMVNKERNEL = dgemv_n_4.c DGEMVTKERNEL = dgemv_t_4.c -ZGEMVNKERNEL = zgemv_n.c +ZGEMVNKERNEL = zgemv_n_4.c ZGEMVTKERNEL = zgemv_t.c -CGEMVNKERNEL = cgemv_n.c +CGEMVNKERNEL = cgemv_n_4.c CGEMVTKERNEL = cgemv_t.c SGEMMKERNEL = sgemm_kernel_16x4_haswell.S diff --git a/kernel/x86_64/zgemv_n_4.c b/kernel/x86_64/zgemv_n_4.c index 43adb6c..c9b5b57 100644 --- a/kernel/x86_64/zgemv_n_4.c +++ b/kernel/x86_64/zgemv_n_4.c @@ -29,6 +29,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include #include "common.h" + #if defined(HASWELL) #include "zgemv_n_microk_haswell-4.c" #endif @@ -270,7 +271,7 @@ printf("%s %d %d %.16f %.16f %d %d %d\n","zgemv_n",m,n,alpha_r,alpha_i,lda,inc_x ap[3] = ap[2] + lda; x_ptr = x; //zero_y(NB,ybuffer); - memset(ybuffer,0,NB*8); + memset(ybuffer,0,NB*16); if ( inc_x == 2 ) { -- 2.7.4