[clfft] 68/107: fix for multi-gpu issue that caused plans to be non-unique w.r.t device

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Jul 30 18:06:37 UTC 2015


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

ghisvail-guest pushed a commit to branch master
in repository clfft.

commit b38f31c23872224861694565e4a8324de18d2e60
Author: bragadeesh <bragadeesh.natarajan at amd>
Date:   Wed Apr 8 16:39:03 2015 -0500

    fix for multi-gpu issue that caused plans to be non-unique w.r.t device
---
 src/library/repo.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/library/repo.h b/src/library/repo.h
index 5cce489..ffe102e 100644
--- a/src/library/repo.h
+++ b/src/library/repo.h
@@ -83,6 +83,10 @@ class	FFTRepo
             {
                 return a.context < b.context;
             }
+			else if (a.device != b.device)
+			{
+				return a.device < b.device;
+			}
             else
             {
                 return ::memcmp(a.data, b.data, a.data->datasize) < 0;

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



More information about the debian-science-commits mailing list