[arrayfire] 200/408: typo fix in opencl morph kernel

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Mon Sep 21 19:11:56 UTC 2015


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

ghisvail-guest pushed a commit to branch debian/sid
in repository arrayfire.

commit 3b4d983c8adff812390ee668b4e9aa7619fba64e
Author: pradeep <pradeep at arrayfire.com>
Date:   Thu Aug 6 16:02:04 2015 -0400

    typo fix in opencl morph kernel
---
 src/backend/opencl/kernel/morph.cl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/backend/opencl/kernel/morph.cl b/src/backend/opencl/kernel/morph.cl
index ac86fc1..cbbbb84 100644
--- a/src/backend/opencl/kernel/morph.cl
+++ b/src/backend/opencl/kernel/morph.cl
@@ -61,7 +61,7 @@ void morph(__global T *              out,
     int d1 = iInfo.dims[1];
     for (int b=ly, gy2=gy; b<shrdLen1; b+=get_local_size(1), gy2+=get_local_size(1)) {
         for (int a=lx, gx2=gx; a<shrdLen; a+=get_local_size(0), gx2+=get_local_size(0)) {
-            load2LocalMem(localMem, in, a, b, shrdLen, d0, d1, gx-halo, gy-halo, s1, s0);
+            load2LocalMem(localMem, in, a, b, shrdLen, d0, d1, gx2-halo, gy2-halo, s1, s0);
         }
     }
 

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



More information about the debian-science-commits mailing list