[clfft] 98/107: fixing failure due to sub-64 length and tranpose not supported
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Thu Jul 30 18:06:42 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 77f42f79afe4577680271582fa50fb196f3c1b83
Author: bnataraj <bragadeesh.natarajan at amd.com>
Date: Fri Jul 10 02:37:27 2015 -0500
fixing failure due to sub-64 length and tranpose not supported
---
src/library/plan.cpp | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/src/library/plan.cpp b/src/library/plan.cpp
index fcf0c3a..3e3e9f7 100644
--- a/src/library/plan.cpp
+++ b/src/library/plan.cpp
@@ -799,6 +799,14 @@ clfftStatus clfftBakePlan( clfftPlanHandle plHandle, cl_uint numQueues, cl_comma
if( (fftPlan->inputLayout == CLFFT_REAL) && IsPo2(fftPlan->length[0])
&& (fftPlan->inStride[0] == 1) && (fftPlan->outStride[0] == 1) )
{
+
+ if(fftPlan->length[0] == 8192)
+ {
+ size_t tmp = length0;
+ clLengths[0] = length0 = length1;
+ clLengths[1] = length1 = tmp;
+ }
+
if (fftPlan->length.size() > 1) break;
if (fftPlan->inStride[0] != 1 || fftPlan->outStride[0] != 1) 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