[clfft] 99/107: fixing the planar failure
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 3ed5368dea47fdadc0d747f7c6cce3982b39cf34
Author: bnataraj <bragadeesh.natarajan at amd.com>
Date: Fri Jul 10 06:53:13 2015 -0500
fixing the planar failure
---
src/library/plan.cpp | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/library/plan.cpp b/src/library/plan.cpp
index 3e3e9f7..f56d12d 100644
--- a/src/library/plan.cpp
+++ b/src/library/plan.cpp
@@ -1008,7 +1008,10 @@ clfftStatus clfftBakePlan( clfftPlanHandle plHandle, cl_uint numQueues, cl_comma
trans3Plan->batchsize = fftPlan->batchsize;
trans3Plan->envelope = fftPlan->envelope;
trans3Plan->inputLayout = CLFFT_COMPLEX_INTERLEAVED;
- trans3Plan->outputLayout = CLFFT_COMPLEX_INTERLEAVED;
+ if(fftPlan->outputLayout == CLFFT_HERMITIAN_PLANAR)
+ trans3Plan->outputLayout = CLFFT_COMPLEX_PLANAR;
+ else
+ trans3Plan->outputLayout = CLFFT_COMPLEX_INTERLEAVED;
trans3Plan->inStride[0] = 1;
trans3Plan->inStride[1] = 1 + clLengths[0]/2;
trans3Plan->outStride[0] = 1;
--
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