summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCNugteren <web@cedricnugteren.nl>2015-07-16 22:49:55 +0200
committerCNugteren <web@cedricnugteren.nl>2015-07-16 22:49:55 +0200
commit9300261bd4c871fe7db55b76c2522b26fb911e34 (patch)
tree6a70d199c46aee51b0a5fb0fdeaf3c8ffeda9f31 /src
parent0157d6d4ea50a789457637f98a373d31b62c1496 (diff)
Fixed a bug when using the Xgemm kernel without local memory
Diffstat (limited to 'src')
-rw-r--r--src/kernels/xgemm.opencl8
1 files changed, 4 insertions, 4 deletions
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
) {