[clfft] 19/21: fixing slight perf drop issue due to blanket barrier statement

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Mar 16 13:14:05 UTC 2016


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

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

commit e47f550382662e4ed51388cf005a92d60616529b
Author: bragadeesh <bragadeesh at users.noreply.github.com>
Date:   Mon Mar 14 17:14:49 2016 -0700

    fixing slight perf drop issue due to blanket barrier statement
---
 src/library/generator.stockham.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/library/generator.stockham.cpp b/src/library/generator.stockham.cpp
index 8552ebe..e69a25e 100644
--- a/src/library/generator.stockham.cpp
+++ b/src/library/generator.stockham.cpp
@@ -2529,7 +2529,7 @@ namespace StockhamGenerator
 			}
 
 
-			passStr += "\n\n\tbarrier(CLK_LOCAL_MEM_FENCE);\n";
+			if(!halfLds) passStr += "\n\n\tbarrier(CLK_LOCAL_MEM_FENCE);\n";
 			passStr += "\n\n";
 
 			// 3-step twiddle multiplies

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