[arrayfire] 104/408: Fixed bug affecting Harris on AMD GPUs

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Mon Sep 21 19:11:29 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 f5ac99e5c5add6867061fb87cdf131ea83fdab18
Author: Peter Andreas Entschev <peter at arrayfire.com>
Date:   Fri Jul 3 12:42:36 2015 -0400

    Fixed bug affecting Harris on AMD GPUs
---
 src/backend/opencl/kernel/harris.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/backend/opencl/kernel/harris.hpp b/src/backend/opencl/kernel/harris.hpp
index eeeddd4..bb9325f 100644
--- a/src/backend/opencl/kernel/harris.hpp
+++ b/src/backend/opencl/kernel/harris.hpp
@@ -326,7 +326,7 @@ void harris(unsigned* corners_out,
 
             // Keep corners kernel sizes
             const unsigned blk_x_kc = divup(*corners_out, HARRIS_THREADS_PER_GROUP);
-            const NDRange local_kc(blk_x_kc * HARRIS_THREADS_PER_GROUP, 1);
+            const NDRange local_kc(HARRIS_THREADS_PER_GROUP, 1);
             const NDRange global_kc(blk_x_kc * HARRIS_THREADS_PER_GROUP, 1);
 
             auto kcOp = make_kernel<Buffer, Buffer, Buffer,

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