[clfft] 20/74: all data types tested.
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Thu Jan 14 19:52:13 UTC 2016
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 a5d7b7bef41e96b839525be246a948b0e4b82b69
Author: santanu-thangaraj <t.santanu at gmail.com>
Date: Thu Nov 26 15:06:35 2015 +0530
all data types tested.
---
src/library/plan.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/library/plan.cpp b/src/library/plan.cpp
index f5eb708..2ea16c5 100644
--- a/src/library/plan.cpp
+++ b/src/library/plan.cpp
@@ -1886,6 +1886,7 @@ clfftStatus clfftBakePlan( clfftPlanHandle plHandle, cl_uint numQueues, cl_comma
clfftLayout inputLayout_bckup = fftPlan->inputLayout;
clfftLayout outputLayout_bckup = fftPlan->outputLayout;
+ clfftPrecision precision_bckup = fftPlan->precision;
if (!test_performed)
{
@@ -1895,6 +1896,7 @@ clfftStatus clfftBakePlan( clfftPlanHandle plHandle, cl_uint numQueues, cl_comma
if(fftPlan->inputLayout == CLFFT_REAL)
test_performed = 1;
+ fftPlan->precision = CLFFT_DOUBLE;
fftPlan->length[1] = 64;// fftPlan->length[1];
fftPlan->length[0] = fftPlan->length[1] * 2;
fftPlan->action = new FFTGeneratedTransposeNonSquareAction(plHandle, fftPlan, *commQueueFFT, err);
@@ -1902,6 +1904,7 @@ clfftStatus clfftBakePlan( clfftPlanHandle plHandle, cl_uint numQueues, cl_comma
}
+ fftPlan->precision = precision_bckup;
fftPlan->inputLayout = inputLayout_bckup;
fftPlan->outputLayout = outputLayout_bckup;
fftPlan->length[0] = backup_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