[clfft] 14/23: changing algorithm for 2^19 and 2^20 sizes

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Aug 18 16:08:21 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 clfft.

commit dc663b6a64b50394b6764e601e3a42bb18fba0d7
Author: bragadeesh <bragadeesh.natarajan at amd>
Date:   Thu Aug 6 19:06:32 2015 -0500

    changing algorithm for 2^19 and 2^20 sizes
---
 src/library/plan.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/library/plan.cpp b/src/library/plan.cpp
index 8a2b4ec..084cf72 100644
--- a/src/library/plan.cpp
+++ b/src/library/plan.cpp
@@ -505,7 +505,7 @@ clfftStatus	clfftBakePlan( clfftPlanHandle plHandle, cl_uint numQueues, cl_comma
 				{
 					// Enable block compute under these conditions
 					if( (fftPlan->inStride[0] == 1) && (fftPlan->outStride[0] == 1) && !rc
-						&& (fftPlan->length[0] <= 1048576/PrecisionWidth(fftPlan->precision)) )
+						&& (fftPlan->length[0] <= 262144/PrecisionWidth(fftPlan->precision)) )
 					{
 						fftPlan->blockCompute = true;
 
@@ -607,7 +607,7 @@ clfftStatus	clfftBakePlan( clfftPlanHandle plHandle, cl_uint numQueues, cl_comma
 					if (fftPlan->inStride[0] != 1 || fftPlan->outStride[0] != 1) break;
 
 					if ( IsPo2(fftPlan->length[0])
-						&& (fftPlan->length[0] <= 1048576/PrecisionWidth(fftPlan->precision)) ) break;
+						&& (fftPlan->length[0] <= 262144/PrecisionWidth(fftPlan->precision)) ) break;
 
 					if ( clLengths[0]<=32 && clLengths[1]<=32) break;
 

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