[clfft] 05/13: code clean up

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sun Jun 5 01:29:38 UTC 2016


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

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

commit 03c284c89f663c1991f63faa6775a2d6e8db3bb4
Author: Timmy <timmy.liu at amd.com>
Date:   Tue May 3 16:15:28 2016 -0500

    code clean up
---
 src/library/plan.cpp             |  1 -
 src/tests/accuracy_test_common.h |  4 ----
 src/tests/accuracy_test_pow5.cpp | 30 ------------------------------
 3 files changed, 35 deletions(-)

diff --git a/src/library/plan.cpp b/src/library/plan.cpp
index 08429c9..7642606 100644
--- a/src/library/plan.cpp
+++ b/src/library/plan.cpp
@@ -799,7 +799,6 @@ clfftStatus	clfftBakePlan( clfftPlanHandle plHandle, cl_uint numQueues, cl_comma
 				}
 
 				clLengths[0] = fftPlan->length[0]/clLengths[1];
-                                std::cout << "[0] = " << clLengths[0] << ", [1] = " << clLengths[1] << std::endl;
 
                 // Start of block where transposes are generated; 1D FFT
 				while (1 && (fftPlan->inputLayout != CLFFT_REAL) && (fftPlan->outputLayout != CLFFT_REAL))
diff --git a/src/tests/accuracy_test_common.h b/src/tests/accuracy_test_common.h
index d601e0d..afb7067 100644
--- a/src/tests/accuracy_test_common.h
+++ b/src/tests/accuracy_test_common.h
@@ -110,12 +110,8 @@ void complex_to_complex( data_pattern pattern, direction::direction_t direction,
 	}
 	else
 		throw std::runtime_error( "invalid direction in complex_to_complex()" );
-        std::cout << "start fftw" << std::endl;
 	reference.transform();
-        std::cout << "finished fftw" << std::endl;
-        std::cout << "start clfft" << std::endl;
 	test_fft.transform();
-        std::cout << "finished clfft" << std::endl;
 
 	EXPECT_EQ( true, test_fft.result() == reference.result() );
 }
diff --git a/src/tests/accuracy_test_pow5.cpp b/src/tests/accuracy_test_pow5.cpp
index 6bfa7aa..1446c95 100644
--- a/src/tests/accuracy_test_pow5.cpp
+++ b/src/tests/accuracy_test_pow5.cpp
@@ -1838,36 +1838,6 @@ void huge_1D_forward_in_place_complex_to_complex(size_t lenSize, size_t batchSiz
 //1. make sure ENV CLFFT_REQUEST_LIB_NOMEMALLOC=1
 //2. pass --gtest_also_run_disabled_tests to TEST.exe
 
-TEST_F(accuracy_test_pow5_single, DISABLED_huge_1D_forward_in_place_complex_planar_to_complex_planar_1220703125_1)
-{
-    try{ huge_1D_forward_in_place_complex_to_complex< float, cl_float, fftwf_complex >(1220703125, 1, layout::complex_planar,direction::forward); }
-    catch (const std::exception &err) { handle_exception(err); }
-}
-
-TEST_F(accuracy_test_pow5_single, DISABLED_huge_1D_forward_in_place_complex_planar_to_complex_planar_1054687500_1)
-{
-    try{ huge_1D_forward_in_place_complex_to_complex< float, cl_float, fftwf_complex >(1054687500, 1, layout::complex_planar,direction::forward); }
-    catch (const std::exception &err) { handle_exception(err); }
-}
-
-TEST_F(accuracy_test_pow5_single, DISABLED_huge_1D_forward_in_place_complex_planar_to_complex_planar_3099363912_1)
-{
-    try{ huge_1D_forward_in_place_complex_to_complex< float, cl_float, fftwf_complex >(3099363912, 1, layout::complex_planar,direction::forward); }
-    catch (const std::exception &err) { handle_exception(err); }
-}
-
-TEST_F(accuracy_test_pow5_single, DISABLED_huge_1D_forward_in_place_complex_planar_to_complex_planar_1992903750_1)
-{
-    try{ huge_1D_forward_in_place_complex_to_complex< float, cl_float, fftwf_complex >(1992903750, 1, layout::complex_planar,direction::forward); }
-    catch (const std::exception &err) { handle_exception(err); }
-}
-
-TEST_F(accuracy_test_pow5_single, DISABLED_huge_1D_forward_in_place_complex_planar_to_complex_planar_2214337500_1)
-{
-    try{ huge_1D_forward_in_place_complex_to_complex< float, cl_float, fftwf_complex >(2214337500, 1, layout::complex_planar,direction::forward); }
-    catch (const std::exception &err) { handle_exception(err); }
-}
-
 //78125 = 125 * 125 * 5, backward and forward, planar and interleaved, single and double, batch size 1 and 3
 TEST_F(accuracy_test_pow5_single, DISABLED_huge_1D_forward_in_place_complex_planar_to_complex_planar_78125_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