From 9300261bd4c871fe7db55b76c2522b26fb911e34 Mon Sep 17 00:00:00 2001 From: CNugteren Date: Thu, 16 Jul 2015 22:49:55 +0200 Subject: Fixed a bug when using the Xgemm kernel without local memory --- src/kernels/xgemm.opencl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/kernels/xgemm.opencl b/src/kernels/xgemm.opencl index 4c7ae064..b888f3ef 100644 --- a/src/kernels/xgemm.opencl +++ b/src/kernels/xgemm.opencl @@ -486,13 +486,13 @@ inline void StoreResults(__global realM* cgm, realM cpm[NWI][MWI/VWM], const int // Main body of the matrix-multiplication algorithm. It calls the (inlined) functions above. inline void XgemmBody(const int kSizeM, const int kSizeN, const int kSizeK, const __global realM* restrict agm, const __global realN* restrict bgm, - __global realM* cgm, realM cpm[NWI][MWI/VWM], + __global realM* cgm, realM cpm[NWI][MWI/VWM] #if SA == 1 && SB == 1 - __local realM* alm, __local realN* blm + , __local realM* alm, __local realN* blm #elif SA == 1 - __local realM* alm + , __local realM* alm #elif SB == 1 - __local realN* blm + , __local realN* blm #endif ) { -- cgit v1.2.3