[arrayfire] 176/408: typo fix in cuda SUSAN kernel

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Mon Sep 21 19:11:50 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 57ffa26ea6f344cb4d721d715a9dd69dc6f69e46
Author: pradeep <pradeep at arrayfire.com>
Date:   Wed Jul 29 19:33:28 2015 -0400

    typo fix in cuda SUSAN kernel
---
 src/backend/cuda/kernel/susan.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/backend/cuda/kernel/susan.hpp b/src/backend/cuda/kernel/susan.hpp
index 45d03f6..bd5fab8 100644
--- a/src/backend/cuda/kernel/susan.hpp
+++ b/src/backend/cuda/kernel/susan.hpp
@@ -73,7 +73,7 @@ void susanKernel(T* out, const T* in,
     if (gx < idim0 - edge && gy < idim1 - edge) {
         unsigned idx = gy*idim0 + gx;
         float nM  = 0.0f;
-        float m_0 = shrdMem[(ly+RADIUS)*shrdLen + lx+RADIUS];
+        float m_0 = shrdMem[(ly+radius)*shrdLen + lx+radius];
 #pragma unroll
         for (int p=0; p<windLen; ++p) {
 #pragma unroll

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