[clblas] 44/75: Removing the printing of unit test parameters

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Jan 24 23:30:34 UTC 2017


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

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

commit ac1854d76c26d24a572c320db209ba633b9ce867
Author: Kent Knox <kent.knox at amd>
Date:   Fri Apr 15 18:01:55 2016 -0500

    Removing the printing of unit test parameters
    
    Changing unit tests to only print test parameters on unit test failures.
---
 src/tests/correctness/corr-asum.cpp  |  8 ++++++++
 src/tests/correctness/corr-axpy.cpp  |  7 +++++++
 src/tests/correctness/corr-copy.cpp  |  7 +++++++
 src/tests/correctness/corr-dot.cpp   |  8 ++++++++
 src/tests/correctness/corr-dotc.cpp  |  8 ++++++++
 src/tests/correctness/corr-gbmv.cpp  |  9 +++++++++
 src/tests/correctness/corr-gemm.cpp  | 12 ++++++++++--
 src/tests/correctness/corr-gemm2.cpp | 10 ++++++++++
 src/tests/correctness/corr-gemv.cpp  |  8 ++++++++
 src/tests/correctness/corr-ger.cpp   | 11 +++++++++++
 src/tests/correctness/corr-gerc.cpp  | 11 +++++++++++
 src/tests/correctness/corr-hbmv.cpp  |  9 +++++++++
 src/tests/correctness/corr-hemm.cpp  |  9 +++++++++
 src/tests/correctness/corr-hemv.cpp  |  9 +++++++++
 src/tests/correctness/corr-her.cpp   | 11 +++++++++--
 src/tests/correctness/corr-her2.cpp  |  9 ++++++++-
 src/tests/correctness/corr-her2k.cpp |  8 ++++++++
 src/tests/correctness/corr-herk.cpp  |  8 ++++++++
 src/tests/correctness/corr-hpr.cpp   |  2 --
 src/tests/correctness/corr-iamax.cpp |  7 +++++++
 src/tests/correctness/corr-nrm2.cpp  |  7 +++++++
 src/tests/correctness/corr-rot.cpp   |  6 ++++++
 src/tests/correctness/corr-rotg.cpp  | 24 +++++++++++++++---------
 src/tests/correctness/corr-rotm.cpp  |  6 ++++++
 src/tests/correctness/corr-rotmg.cpp |  6 ++++++
 src/tests/correctness/corr-sbmv.cpp  |  9 +++++++++
 src/tests/correctness/corr-scal.cpp  |  8 ++++++++
 src/tests/correctness/corr-spmv.cpp  |  9 +++++++++
 src/tests/correctness/corr-spr.cpp   |  1 -
 src/tests/correctness/corr-swap.cpp  |  7 +++++++
 src/tests/correctness/corr-symm.cpp  |  9 +++++++++
 src/tests/correctness/corr-symv.cpp  |  9 +++++++++
 src/tests/correctness/corr-syr.cpp   |  9 ++++++++-
 src/tests/correctness/corr-syr2.cpp  |  8 ++++++++
 src/tests/correctness/corr-syr2k.cpp |  8 ++++++++
 src/tests/correctness/corr-syrk.cpp  |  8 ++++++++
 src/tests/correctness/corr-tbmv.cpp  |  9 +++++++++
 src/tests/correctness/corr-tbsv.cpp  |  9 +++++++++
 src/tests/correctness/corr-trmm.cpp  |  9 +++++++++
 src/tests/correctness/corr-trmv.cpp  |  8 ++++++++
 src/tests/correctness/corr-trsm.cpp  |  9 +++++++++
 src/tests/correctness/corr-trsv.cpp  |  8 ++++++++
 src/tests/include/asum.h             |  4 ----
 src/tests/include/axpy.h             |  3 ---
 src/tests/include/copy.h             |  3 ---
 src/tests/include/dot.h              |  4 ----
 src/tests/include/dotc.h             |  4 ----
 src/tests/include/gbmv.h             |  5 -----
 src/tests/include/gemm-2.h           |  6 ------
 src/tests/include/gemm.h             |  5 -----
 src/tests/include/gemv.h             |  5 -----
 src/tests/include/ger.h              |  8 --------
 src/tests/include/gerc.h             |  6 ------
 src/tests/include/hbmv.h             |  5 -----
 src/tests/include/hemm.h             |  5 -----
 src/tests/include/hemv.h             |  5 -----
 src/tests/include/her.h              |  6 ------
 src/tests/include/her2.h             |  5 -----
 src/tests/include/her2k.h            |  5 -----
 src/tests/include/herk.h             |  5 -----
 src/tests/include/iamax.h            |  3 ---
 src/tests/include/nrm2.h             |  4 ----
 src/tests/include/rot.h              |  3 ---
 src/tests/include/rotg.h             |  3 ---
 src/tests/include/rotm.h             |  3 ---
 src/tests/include/rotmg.h            |  3 ---
 src/tests/include/sbmv.h             |  5 -----
 src/tests/include/scal.h             |  4 ----
 src/tests/include/spmv.h             |  5 -----
 src/tests/include/swap.h             |  3 ---
 src/tests/include/symm.h             |  5 -----
 src/tests/include/symv.h             |  5 -----
 src/tests/include/syr.h              |  5 -----
 src/tests/include/syr2.h             |  5 -----
 src/tests/include/syr2k.h            |  5 -----
 src/tests/include/syrk.h             |  5 -----
 src/tests/include/tbmv.h             |  5 -----
 src/tests/include/tbsv.h             |  5 -----
 src/tests/include/trmm.h             |  5 -----
 src/tests/include/trmv.h             |  4 ----
 src/tests/include/trsm.h             |  5 -----
 src/tests/include/trsv.h             |  4 ----
 82 files changed, 339 insertions(+), 201 deletions(-)

diff --git a/src/tests/correctness/corr-asum.cpp b/src/tests/correctness/corr-asum.cpp
index 90d2b33..a05a34e 100644
--- a/src/tests/correctness/corr-asum.cpp
+++ b/src/tests/correctness/corr-asum.cpp
@@ -167,6 +167,14 @@ asumCorrectnessTest(TestParams *params)
     releaseMemObjects(bufX, bufAsum, scratchBuff);
 
     compareMatrices<T2>(clblasColumnMajor, 1 , 1, (blasAsum), (clblasAsum+params->offa), 1);
+
+    if (::testing::Test::HasFailure())
+    {
+        printTestParams(params->N, params->offBX, params->incx);
+        ::std::cerr << "offAsum = " << params->offa << ::std::endl;
+        ::std::cerr << "queues = " << params->numCommandQueues << ::std::endl;
+    }
+
     deleteBuffers<T1>(blasX);
     deleteBuffers<T2>(blasAsum, clblasAsum);
     delete[] events;
diff --git a/src/tests/correctness/corr-axpy.cpp b/src/tests/correctness/corr-axpy.cpp
index 1aa3246..b23e6e0 100644
--- a/src/tests/correctness/corr-axpy.cpp
+++ b/src/tests/correctness/corr-axpy.cpp
@@ -170,6 +170,13 @@ axpyCorrectnessTest(TestParams *params)
     releaseMemObjects(bufX, bufY);
 
     compareMatrices<T>(clblasRowMajor, lengthY , 1, (blasY + params->offCY), (Y + params->offCY), 1);
+
+    if (::testing::Test::HasFailure())
+    {
+        printTestParams(params->N, params->alpha, params->offBX, params->incx, params->offCY, params->incy);
+        ::std::cerr << "queues = " << params->numCommandQueues << ::std::endl;
+    }
+
     deleteBuffers<T>(X, Y, blasX, blasY);
     delete[] events;
 }
diff --git a/src/tests/correctness/corr-copy.cpp b/src/tests/correctness/corr-copy.cpp
index 625567f..468a20e 100644
--- a/src/tests/correctness/corr-copy.cpp
+++ b/src/tests/correctness/corr-copy.cpp
@@ -165,6 +165,13 @@ copyCorrectnessTest(TestParams *params)
     releaseMemObjects(bufX, bufY);
 
     compareMatrices<T>(clblasColumnMajor, lengthY , 1, (blasY + params->offCY), (clblasY + params->offCY), lengthY, NULL);
+
+    if (::testing::Test::HasFailure())
+    {
+        printTestParams(params->N, params->offBX, params->incx, params->offCY, params->incy);
+        ::std::cerr << "queues = " << params->numCommandQueues << ::std::endl;
+    }
+
     deleteBuffers<T>(blasX, blasY, clblasY);
     delete[] events;
 }
diff --git a/src/tests/correctness/corr-dot.cpp b/src/tests/correctness/corr-dot.cpp
index d72b237..02fd84e 100644
--- a/src/tests/correctness/corr-dot.cpp
+++ b/src/tests/correctness/corr-dot.cpp
@@ -173,6 +173,14 @@ dotCorrectnessTest(TestParams *params)
     releaseMemObjects(bufX, bufY, bufDP, scratchBuff);
 
     compareMatrices<T>(clblasColumnMajor, 1 , 1, (blasDP), (clblasDP+params->offa), 1);
+
+    if (::testing::Test::HasFailure())
+    {
+        printTestParams(params->N, params->offBX, params->incx, params->offCY, params->incy);
+        ::std::cerr << "offDP = " << params->offa << ::std::endl;
+        ::std::cerr << "queues = " << params->numCommandQueues << ::std::endl;
+    }
+
     deleteBuffers<T>(blasX, blasY, blasDP, clblasDP);
     delete[] events;
 }
diff --git a/src/tests/correctness/corr-dotc.cpp b/src/tests/correctness/corr-dotc.cpp
index c2bc481..8db5550 100644
--- a/src/tests/correctness/corr-dotc.cpp
+++ b/src/tests/correctness/corr-dotc.cpp
@@ -173,6 +173,14 @@ dotcCorrectnessTest(TestParams *params)
     releaseMemObjects(bufX, bufY, bufDP, scratchBuff);
 
     compareMatrices<T>(clblasColumnMajor, 1 , 1, (blasDP), (clblasDP+params->offa), 1);
+
+    if (::testing::Test::HasFailure())
+    {
+        printTestParams(params->N, params->offBX, params->incx, params->offCY, params->incy);
+        ::std::cerr << "offDP = " << params->offa << ::std::endl;
+        ::std::cerr << "queues = " << params->numCommandQueues << ::std::endl;
+    }
+
     deleteBuffers<T>(blasX, blasY, blasDP, clblasDP);
     delete[] events;
 }
diff --git a/src/tests/correctness/corr-gbmv.cpp b/src/tests/correctness/corr-gbmv.cpp
index f64fad1..5bb80c3 100644
--- a/src/tests/correctness/corr-gbmv.cpp
+++ b/src/tests/correctness/corr-gbmv.cpp
@@ -203,6 +203,15 @@ gbmvCorrectnessTest(TestParams *params)
     releaseMemObjects(bufA, bufX, bufY);
     compareMatrices<T>(clblasColumnMajor, lengthY , 1, (blasY + params->offCY), (clblasY + params->offCY),
                        lengthY);
+
+    if (::testing::Test::HasFailure())
+    {
+        printTestParams(params->order, params->transA, params->M, params->N, params->KL, params->KU, params->alpha, params->offA,
+            params->lda, params->offBX, params->incx, params->beta, params->offCY, params->incy);
+        ::std::cerr << "seed = " << params->seed << ::std::endl;
+        ::std::cerr << "queues = " << params->numCommandQueues << ::std::endl;
+    }
+
     deleteBuffers<T>(A, X, blasY, clblasY);
     delete[] events;
 }
diff --git a/src/tests/correctness/corr-gemm.cpp b/src/tests/correctness/corr-gemm.cpp
index 61821f4..6280a47 100644
--- a/src/tests/correctness/corr-gemm.cpp
+++ b/src/tests/correctness/corr-gemm.cpp
@@ -103,12 +103,10 @@ gemmCorrectnessTest(TestParams *params)
         beta = convertMultiplier<T>(params->beta);
     }
 
-    //::std::cerr << "Generating input data... ";
     randomGemmMatrices<T>(params->order, params->transA, params->transB,
         params->M, params->N, params->K, useAlpha, &alpha, A, params->lda,
         B, params->ldb, useBeta, &beta, blasC, params->ldc);
     memcpy(clblasC, blasC, params->rowsC * params->columnsC * sizeof(*blasC));
-    //::std::cerr << "Done" << ::std::endl;
 
     if (params->order == clblasColumnMajor) {
         ::clMath::blas::gemm(clblasColumnMajor, params->transA, params->transB,
@@ -193,6 +191,16 @@ gemmCorrectnessTest(TestParams *params)
     releaseMemObjects(bufA, bufB, bufC);
     compareMatrices<T>(params->order, params->M, params->N, blasC, clblasC,
                        params->ldc);
+
+    if (::testing::Test::HasFailure( ) )
+    {
+        printTestParams(params->order, params->transA, params->transB, params->M, params->N, params->K, base->useAlpha(),
+            base->alpha(), params->offA, params->lda, params->offBX, params->ldb, base->useBeta(),
+            base->beta(), params->offCY, params->ldc);
+        ::std::cerr << "             seed = " << params->seed << ", "
+            << "queues = " << params->numCommandQueues << ", ";
+    }
+
     deleteBuffers<T>(A, B, blasC, clblasC);
     delete[] events;
 }
diff --git a/src/tests/correctness/corr-gemm2.cpp b/src/tests/correctness/corr-gemm2.cpp
index 116816a..1bb790d 100644
--- a/src/tests/correctness/corr-gemm2.cpp
+++ b/src/tests/correctness/corr-gemm2.cpp
@@ -215,6 +215,16 @@ gemm2CorrectnessTest(TestParams *params)
     releaseMemObjects(bufA, bufB, bufC);
     compareMatrices<T>(params->order, params->M, params->N, blasC, clblasC,
                        params->ldc);
+
+    if (::testing::Test::HasFailure())
+    {
+        printTestParams(params->order, params->transA, params->transB, params->M, params->N, params->K, base->useAlpha(),
+            base->alpha(), params->offA, params->lda, params->offBX, params->ldb, base->useBeta(),
+            base->beta(), params->offCY, params->ldc);
+        ::std::cerr << "seed = " << params->seed << ::std::endl;
+        ::std::cerr << "queues = " << params->numCommandQueues << ::std::endl;
+    }
+
     deleteBuffers<T>(A, B, blasC, clblasC);
     delete[] events;
 }
diff --git a/src/tests/correctness/corr-gemv.cpp b/src/tests/correctness/corr-gemv.cpp
index f3d5b75..279491e 100644
--- a/src/tests/correctness/corr-gemv.cpp
+++ b/src/tests/correctness/corr-gemv.cpp
@@ -202,6 +202,14 @@ gemvCorrectnessTest(TestParams *params)
     compareVectors(params->offCY, lenY, abs(params->incy),
                    params->columnsC * params->rowsC, blasC, clblasC);
 
+    if (::testing::Test::HasFailure())
+    {
+        printTestParams(params->order, params->transA, params->M, params->N, base->useAlpha(), base->alpha(), params->offA,
+            params->lda, params->incx, base->useBeta(), base->beta(), params->incy);
+        ::std::cerr << "seed = " << params->seed << ::std::endl;
+        ::std::cerr << "queues = " << params->numCommandQueues << ::std::endl;
+    }
+
     deleteBuffers<T>(A, B, blasC, clblasC);
     delete[] events;
 }
diff --git a/src/tests/correctness/corr-ger.cpp b/src/tests/correctness/corr-ger.cpp
index 1c13276..7c3a670 100644
--- a/src/tests/correctness/corr-ger.cpp
+++ b/src/tests/correctness/corr-ger.cpp
@@ -218,6 +218,17 @@ gerCorrectnessTest(TestParams *params)
 
     // handle lda correctly based on row-major/col-major..
     compareMatrices<T>(params->order, params->M , params->N, A+ params->offa, backA + params->offa, params->lda);
+
+    if (::testing::Test::HasFailure())
+    {
+        printTestParams(params->order, params->M, params->N, useAlpha,
+            base->alpha(),
+            params->lda, params->incx, params->incy, params->offa, params->offBX, params->offCY);
+
+        ::std::cerr << "seed = " << params->seed << ::std::endl;
+        ::std::cerr << "queues = " << params->numCommandQueues << ::std::endl;
+    }
+
     deleteBuffers<T>(A, x, y, backA);
     delete[] events;
 }
diff --git a/src/tests/correctness/corr-gerc.cpp b/src/tests/correctness/corr-gerc.cpp
index ec5bfaa..81d8833 100644
--- a/src/tests/correctness/corr-gerc.cpp
+++ b/src/tests/correctness/corr-gerc.cpp
@@ -220,6 +220,17 @@ gercCorrectnessTest(TestParams *params)
 
     // handle lda correctly based on row-major/col-major..
     compareMatrices<T>(params->order, params->M , params->N, A+ params->offa, backA + params->offa, params->lda);
+
+    if (::testing::Test::HasFailure())
+    {
+        printTestParams(params->order, params->M, params->N, useAlpha,
+            base->alpha(),
+            params->lda, params->incx, params->incy, params->offa, params->offBX, params->offCY);
+
+        ::std::cerr << "seed = " << params->seed << ::std::endl;
+        ::std::cerr << "queues = " << params->numCommandQueues << ::std::endl;
+    }
+
     deleteBuffers<T>(A, x, y, backA);
     delete[] events;
 }
diff --git a/src/tests/correctness/corr-hbmv.cpp b/src/tests/correctness/corr-hbmv.cpp
index accecd7..846dc8d 100644
--- a/src/tests/correctness/corr-hbmv.cpp
+++ b/src/tests/correctness/corr-hbmv.cpp
@@ -193,6 +193,15 @@ hbmvCorrectnessTest(TestParams *params)
     releaseMemObjects(bufA, bufX, bufY);
     compareMatrices<T>(clblasColumnMajor, lengthY , 1, (blasY + params->offCY), (clblasY + params->offCY),
                        lengthY);
+
+    if (::testing::Test::HasFailure())
+    {
+        printTestParams(params->order, params->uplo, params->N, params->K, params->alpha, params->offA,
+            params->lda, params->offBX, params->incx, params->beta, params->offCY, params->incy);
+        ::std::cerr << "seed = " << params->seed << ::std::endl;
+        ::std::cerr << "queues = " << params->numCommandQueues << ::std::endl;
+    }
+
     deleteBuffers<T>(A, X, blasY, clblasY);
     delete[] events;
 }
diff --git a/src/tests/correctness/corr-hemm.cpp b/src/tests/correctness/corr-hemm.cpp
index 8f540a2..69536d8 100644
--- a/src/tests/correctness/corr-hemm.cpp
+++ b/src/tests/correctness/corr-hemm.cpp
@@ -226,6 +226,15 @@ hemmCorrectnessTest(TestParams *params)
 
     // handle lda correctly based on row-major/col-major..
     compareMatrices<T>(params->order, params->M , params->N, (C + params->offCY), (backC + params->offCY), params->ldc);
+
+    if (::testing::Test::HasFailure())
+    {
+        printTestParams(params->order, params->side, params->uplo, params->M, params->N, 1, params->alpha, 1, params->beta, params->lda, params->ldb, params->ldc, params->offA, params->offb, params->offc);
+
+        ::std::cerr << "seed = " << params->seed << ::std::endl;
+        ::std::cerr << "queues = " << params->numCommandQueues << ::std::endl;
+    }
+
     deleteBuffers<T>(A, B, C, backC);
     delete[] events;
 }
diff --git a/src/tests/correctness/corr-hemv.cpp b/src/tests/correctness/corr-hemv.cpp
index cced473..2f2517d 100644
--- a/src/tests/correctness/corr-hemv.cpp
+++ b/src/tests/correctness/corr-hemv.cpp
@@ -225,6 +225,15 @@ hemvCorrectnessTest(TestParams *params)
 	*/
     compareMatrices<T>(clblasColumnMajor, lengthY , 1, (blasY + params->offCY), (clblasY + params->offCY),
                        lengthY);
+
+    if (::testing::Test::HasFailure())
+    {
+        printTestParams(params->order, params->uplo, params->N, params->alpha, params->offA,
+            params->lda, params->offBX, params->incx, params->beta, params->offCY, params->incy);
+        ::std::cerr << "seed = " << params->seed << ::std::endl;
+        ::std::cerr << "queues = " << params->numCommandQueues << ::std::endl;
+    }
+
     deleteBuffers<T>(A, X, blasY, clblasY);
     delete[] events;
 }
diff --git a/src/tests/correctness/corr-her.cpp b/src/tests/correctness/corr-her.cpp
index 73f5be3..57b95f2 100644
--- a/src/tests/correctness/corr-her.cpp
+++ b/src/tests/correctness/corr-her.cpp
@@ -103,7 +103,6 @@ herCorrectnessTest(TestParams *params)
 
 	randomHerMatrices( params->order, params->uplo, params->N, &alpha_, (A + params->offa), params->lda, (X + params->offBX), params->incx );
     memcpy(backA, A, (lengthA + params->offa)* sizeof(*A));
-	::std::cerr << "Done" << ::std::endl;
 
 	// Allocate buffers
     bufA = base->createEnqueueBuffer(A, (lengthA + params->offa) * sizeof(*A), 0, CL_MEM_READ_WRITE);
@@ -178,10 +177,18 @@ herCorrectnessTest(TestParams *params)
 
     releaseMemObjects(bufA, bufX);
 
-	printf("Comparing the results\n");
 	compareMatrices<T>(params->order, params->N , params->N, (A + params->offa), (backA + params->offa),
                        params->lda);
 
+    if (::testing::Test::HasFailure())
+    {
+        printTestParams(params->order, params->uplo, params->N, params->alpha.re,
+            params->offBX, params->incx, params->offa, params->lda);
+
+        ::std::cerr << "seed = " << params->seed << ::std::endl;
+        ::std::cerr << "queues = " << params->numCommandQueues << ::std::endl;
+    }
+
 	deleteBuffers<T>( A, backA, X);
     delete[] events;
 }
diff --git a/src/tests/correctness/corr-her2.cpp b/src/tests/correctness/corr-her2.cpp
index f041420..e72db79 100644
--- a/src/tests/correctness/corr-her2.cpp
+++ b/src/tests/correctness/corr-her2.cpp
@@ -120,7 +120,6 @@ her2CorrectnessTest(TestParams *params)
 
 	// Copy blasA to clblasA
     memcpy(clblasA, blasA, (lengthA + params->offa)* sizeof(*blasA));
-    ::std::cerr << "Done" << ::std::endl;
 
 	// Allocate buffers
     bufA = base->createEnqueueBuffer(clblasA, (lengthA + params->offa)* sizeof(*clblasA), 0,CL_MEM_READ_WRITE);
@@ -194,6 +193,14 @@ her2CorrectnessTest(TestParams *params)
 	compareMatrices<T>(params->order, params->N , params->N, (blasA + params->offa), (clblasA + params->offa),
                        params->lda);
 
+    if (::testing::Test::HasFailure())
+    {
+        printTestParams(params->order, params->uplo, params->N, 1, params->alpha, params->offBX, params->incx, params->offCY, params->incy, params->offa, params->lda);
+
+        ::std::cerr << "seed = " << params->seed << ::std::endl;
+        ::std::cerr << "queues = " << params->numCommandQueues << ::std::endl;
+    }
+
 	deleteBuffers<T>(blasA, clblasA, X, Y);
     delete[] events;
 }
diff --git a/src/tests/correctness/corr-her2k.cpp b/src/tests/correctness/corr-her2k.cpp
index 21434ec..06675c8 100644
--- a/src/tests/correctness/corr-her2k.cpp
+++ b/src/tests/correctness/corr-her2k.cpp
@@ -184,6 +184,14 @@ her2kCorrectnessTest(TestParams *params)
     releaseMemObjects(bufA, bufB, bufC);
     compareMatrices<T>(params->order, params->N, params->N, blasC, clblasC, params->ldc);
 
+    if (::testing::Test::HasFailure())
+    {
+        printTestParams(params->order, params->uplo, params->transA, params->N, params->K, true, params->alpha,
+            params->offa, params->lda, params->offBX, params->ldb, true, params->beta, params->offCY, params->ldc);
+        ::std::cerr << "seed = " << params->seed << ::std::endl;
+        ::std::cerr << "queues = " << params->numCommandQueues << ::std::endl;
+    }
+
     deleteBuffers<T>(A, B, blasC, clblasC);
     delete[] events;
 }
diff --git a/src/tests/correctness/corr-herk.cpp b/src/tests/correctness/corr-herk.cpp
index f64eb40..8158984 100644
--- a/src/tests/correctness/corr-herk.cpp
+++ b/src/tests/correctness/corr-herk.cpp
@@ -211,6 +211,14 @@ herkCorrectnessTest(TestParams *params)
     compareMatrices<T>(params->order, params->N, params->N, blasC, clblasC,
                        params->ldc);
 
+    if (::testing::Test::HasFailure())
+    {
+        printTestParams(params->order, params->uplo, params->transA, params->N, params->K, true, params->alpha,
+            params->offA, params->lda, true, params->beta, params->offCY, params->ldc);
+        ::std::cerr << "seed = " << params->seed << ::std::endl;
+        ::std::cerr << "queues = " << params->numCommandQueues << ::std::endl;
+    }
+
     deleteBuffers<T>(A, blasC, clblasC);
     delete[] events;
 }
diff --git a/src/tests/correctness/corr-hpr.cpp b/src/tests/correctness/corr-hpr.cpp
index 4cb539f..d7d7e38 100644
--- a/src/tests/correctness/corr-hpr.cpp
+++ b/src/tests/correctness/corr-hpr.cpp
@@ -176,8 +176,6 @@ hprCorrectnessTest(TestParams *params)
 
     releaseMemObjects(bufAP, bufX);
 
-	printf("Comparing the results\n");
-
     compareMatrices<T>(clblasColumnMajor, lengthAP, 1, (AP + params->offa), (backA + params->offa), lengthAP);
 
 	deleteBuffers<T>( AP, backA, X);
diff --git a/src/tests/correctness/corr-iamax.cpp b/src/tests/correctness/corr-iamax.cpp
index 040b918..1fbe6f8 100644
--- a/src/tests/correctness/corr-iamax.cpp
+++ b/src/tests/correctness/corr-iamax.cpp
@@ -161,6 +161,13 @@ iamaxCorrectnessTest(TestParams *params)
 	}
 
     compareValues<int>((blasiAmax), (clblasiAmax+params->offa), 0);
+
+    if (::testing::Test::HasFailure())
+    {
+        printTestParams(params->N, params->offBX, params->incx);
+        ::std::cerr << "offiAmax = " << params->offa << ::std::endl;
+    }
+
     releaseMemObjects(bufX, bufiAmax, scratchBuff);
     deleteBuffers<T>(blasX, blasiAmax, clblasiAmax);
     delete[] events;
diff --git a/src/tests/correctness/corr-nrm2.cpp b/src/tests/correctness/corr-nrm2.cpp
index 34bce30..9fad612 100644
--- a/src/tests/correctness/corr-nrm2.cpp
+++ b/src/tests/correctness/corr-nrm2.cpp
@@ -173,6 +173,13 @@ nrm2CorrectnessTest(TestParams *params)
     }
     compareValues<T2>( (blasNRM2), (clblasNRM2+params->offa), delta);
 
+    if (::testing::Test::HasFailure())
+    {
+        printTestParams(params->N, params->offBX, params->incx);
+        ::std::cerr << "offNRM2 = " << params->offa << ::std::endl;
+        ::std::cerr << "queues = " << params->numCommandQueues << ::std::endl;
+    }
+
     deleteBuffers<T1>(blasX);
     deleteBuffers<T2>(blasNRM2,  clblasNRM2);
     delete[] events;
diff --git a/src/tests/correctness/corr-rot.cpp b/src/tests/correctness/corr-rot.cpp
index 3e09c94..fb208eb 100644
--- a/src/tests/correctness/corr-rot.cpp
+++ b/src/tests/correctness/corr-rot.cpp
@@ -182,6 +182,12 @@ rotCorrectnessTest(TestParams *params)
     compareMatrices<T>(clblasRowMajor, lengthx , 1, (back_X + params->offa), (X + params->offa), 1);
     compareMatrices<T>(clblasRowMajor, lengthy , 1, (back_Y + params->offb), (Y + params->offb), 1);
 
+    if (::testing::Test::HasFailure())
+    {
+        printTestParams(params->N, params->offa, params->incx, params->offb, params->incy, params->alpha, params->beta);
+        ::std::cerr << "queues = " << params->numCommandQueues << ::std::endl;
+    }
+
     deleteBuffers<T>(X, Y, back_X, back_Y);
     delete[] events;
 }
diff --git a/src/tests/correctness/corr-rotg.cpp b/src/tests/correctness/corr-rotg.cpp
index 4616533..05be85c 100644
--- a/src/tests/correctness/corr-rotg.cpp
+++ b/src/tests/correctness/corr-rotg.cpp
@@ -144,15 +144,15 @@ rotgCorrectnessTest(TestParams *params)
     back_SB[params->offCY] = SB[params->offCY];
 
     //printing the inputs, as they change after processing
-    ::std::cerr << "A = ";
-    printElement<T1>(SA[params->offBX]);
-    ::std::cerr << "\tB = ";
-    printElement<T1>(SB[params->offCY]);
-    ::std::cerr << "\tC = ";
-    printElement<T2>(C[params->offa]);
-    ::std::cerr << "\tS = ";
-    printElement<T1>(S[params->offb]);
-    ::std::cout << std::endl << std::endl;
+    //::std::cerr << "A = ";
+    //printElement<T1>(SA[params->offBX]);
+    //::std::cerr << "\tB = ";
+    //printElement<T1>(SB[params->offCY]);
+    //::std::cerr << "\tC = ";
+    //printElement<T2>(C[params->offa]);
+    //::std::cerr << "\tS = ";
+    //printElement<T1>(S[params->offb]);
+    //::std::cout << std::endl << std::endl;
 
 	// Allocate buffers
     bufSA = base->createEnqueueBuffer(SA, (length + params->offBX) * sizeof(T1), 0, CL_MEM_READ_WRITE);
@@ -241,6 +241,12 @@ rotgCorrectnessTest(TestParams *params)
     delta = deltaForType * returnMax<T1>(back_S[params->offb]);
     compareValues<T1>( (back_S + params->offb), (S + params->offb), delta);
 
+    if (::testing::Test::HasFailure())
+    {
+        printTestParams(params->offBX, params->offCY, params->offa, params->offb);
+        ::std::cerr << "queues = " << params->numCommandQueues << ::std::endl;
+    }
+
     deleteBuffers<T1>(SA, SB, S, back_SA, back_SB, back_S);
     deleteBuffers<T2>(C, back_C);
     delete[] events;
diff --git a/src/tests/correctness/corr-rotm.cpp b/src/tests/correctness/corr-rotm.cpp
index 33f7648..c791108 100644
--- a/src/tests/correctness/corr-rotm.cpp
+++ b/src/tests/correctness/corr-rotm.cpp
@@ -199,6 +199,12 @@ rotmCorrectnessTest(TestParams *params)
     compareMatrices<T>(clblasColumnMajor, lengthx , 1, (back_X + params->offa), (X + params->offa), lengthx);
     compareMatrices<T>(clblasColumnMajor, lengthy , 1, (back_Y + params->offb), (Y + params->offb), lengthy);
 
+    if (::testing::Test::HasFailure())
+    {
+        printTestParams(params->N, params->offa, params->incx, params->offb, params->incy, params->offc, params->alpha);
+        ::std::cerr << "queues = " << params->numCommandQueues << ::std::endl;
+    }
+
     deleteBuffers<T>(X, Y, PARAM, back_X, back_Y, back_PARAM);
     delete[] events;
 }
diff --git a/src/tests/correctness/corr-rotmg.cpp b/src/tests/correctness/corr-rotmg.cpp
index 8c448fe..1ff6555 100644
--- a/src/tests/correctness/corr-rotmg.cpp
+++ b/src/tests/correctness/corr-rotmg.cpp
@@ -249,6 +249,12 @@ rotmgCorrectnessTest(TestParams *params)
     }
     compareMatrices<T>(clblasColumnMajor, 5 , 1, (back_PARAM + params->offc), (PARAM + params->offc), 5, deltaArr);
 
+    if (::testing::Test::HasFailure())
+    {
+        printTestParams(params->offBX, params->offCY, params->offa, params->offb, params->offc, params->alpha);
+        ::std::cerr << "queues = " << params->numCommandQueues << ::std::endl;
+    }
+
     deleteBuffers<T>(D1, D2, X, Y, PARAM);
     deleteBuffers<T>(back_D1, back_D2, back_X, back_Y, back_PARAM);
 
diff --git a/src/tests/correctness/corr-sbmv.cpp b/src/tests/correctness/corr-sbmv.cpp
index fc1eacd..bf974c5 100644
--- a/src/tests/correctness/corr-sbmv.cpp
+++ b/src/tests/correctness/corr-sbmv.cpp
@@ -192,6 +192,15 @@ sbmvCorrectnessTest(TestParams *params)
     releaseMemObjects(bufA, bufX, bufY);
     compareMatrices<T>(clblasColumnMajor, lengthY , 1, (blasY + params->offCY), (clblasY + params->offCY),
                        lengthY);
+
+    if (::testing::Test::HasFailure())
+    {
+        printTestParams(params->order, params->uplo, params->N, params->K, params->alpha, params->offA,
+            params->lda, params->offBX, params->incx, params->beta, params->offCY, params->incy);
+        ::std::cerr << "seed = " << params->seed << ::std::endl;
+        ::std::cerr << "queues = " << params->numCommandQueues << ::std::endl;
+    }
+
     deleteBuffers<T>(A, X, blasY, clblasY);
     delete[] events;
 }
diff --git a/src/tests/correctness/corr-scal.cpp b/src/tests/correctness/corr-scal.cpp
index ecd8b82..72d6246 100644
--- a/src/tests/correctness/corr-scal.cpp
+++ b/src/tests/correctness/corr-scal.cpp
@@ -150,6 +150,14 @@ void scalCorrectnessTest(TestParams *params)
 
     compareMatrices<T>(clblasColumnMajor, lengthX , 1, (blasX + params->offBX),
                         (clblasX + params->offBX), lengthX);
+
+    if (::testing::Test::HasFailure())
+    {
+        printTestParams(params->N, params->alpha, params->offBX, params->incx);
+        ::std::cerr << "seed = " << params->seed << ::std::endl;
+        ::std::cerr << "queues = " << params->numCommandQueues << ::std::endl;
+    }
+
     deleteBuffers<T>(blasX, clblasX);
     delete[] events;
 }
diff --git a/src/tests/correctness/corr-spmv.cpp b/src/tests/correctness/corr-spmv.cpp
index 52aded0..58f14c4 100644
--- a/src/tests/correctness/corr-spmv.cpp
+++ b/src/tests/correctness/corr-spmv.cpp
@@ -189,6 +189,15 @@ spmvCorrectnessTest(TestParams *params)
 
     compareMatrices<T>(clblasColumnMajor, lengthY , 1, (blasY + params->offCY), (clblasY + params->offCY),
                        lengthY);
+
+    if (::testing::Test::HasFailure())
+    {
+        printTestParams(params->order, params->uplo, params->N, base->alpha(), params->offA,
+            0, params->offBX, params->incx, base->beta(), params->offCY, params->incy);
+        ::std::cerr << "seed = " << params->seed << ::std::endl;
+        ::std::cerr << "queues = " << params->numCommandQueues << ::std::endl;
+    }
+
     deleteBuffers<T>(AP, X, blasY, clblasY);
     delete[] events;
 }
diff --git a/src/tests/correctness/corr-spr.cpp b/src/tests/correctness/corr-spr.cpp
index 4851e7d..5608112 100644
--- a/src/tests/correctness/corr-spr.cpp
+++ b/src/tests/correctness/corr-spr.cpp
@@ -192,7 +192,6 @@ sprCorrectnessTest(TestParams *params)
 	}
 
     releaseMemObjects(bufAP, bufX);
-	printf("Comparing the results\n");
 	compareMatrices<T>(clblasColumnMajor, lengthAP , 1, (blasAP + params->offa), (clblasAP + params->offa),
                        lengthAP);
 
diff --git a/src/tests/correctness/corr-swap.cpp b/src/tests/correctness/corr-swap.cpp
index db1eb6d..706779d 100644
--- a/src/tests/correctness/corr-swap.cpp
+++ b/src/tests/correctness/corr-swap.cpp
@@ -174,6 +174,13 @@ swapCorrectnessTest(TestParams *params)
 
     compareMatrices<T>(clblasColumnMajor, lengthX , 1, (blasX + params->offBX), (X + params->offBX), lengthX);
     compareMatrices<T>(clblasColumnMajor, lengthY , 1, (blasY + params->offCY), (Y + params->offCY), lengthY);
+
+    if (::testing::Test::HasFailure())
+    {
+        printTestParams(params->N, params->offBX, params->incx, params->offCY, params->incy);
+        ::std::cerr << "queues = " << params->numCommandQueues << ::std::endl;
+    }
+
     deleteBuffers<T>(X, Y, blasX, blasY);
     delete[] events;
 }
diff --git a/src/tests/correctness/corr-symm.cpp b/src/tests/correctness/corr-symm.cpp
index 4af106d..c4670ac 100644
--- a/src/tests/correctness/corr-symm.cpp
+++ b/src/tests/correctness/corr-symm.cpp
@@ -227,6 +227,15 @@ symmCorrectnessTest(TestParams *params)
 
     // handle lda correctly based on row-major/col-major..
     compareMatrices<T>(params->order, params->M , params->N, (C + params->offc), (backC + params->offc), params->ldc);
+
+    if (::testing::Test::HasFailure())
+    {
+        printTestParams(params->order, params->side, params->uplo, params->M, params->N, 1, params->alpha, 1, params->beta, params->lda, params->ldb, params->ldc, params->offa, params->offb, params->offc);
+
+        ::std::cerr << "seed = " << params->seed << ::std::endl;
+        ::std::cerr << "queues = " << params->numCommandQueues << ::std::endl;
+    }
+
     deleteBuffers<T>(A, B, C, backC);
     delete[] events;
 }
diff --git a/src/tests/correctness/corr-symv.cpp b/src/tests/correctness/corr-symv.cpp
index d4c33c6..c466abf 100644
--- a/src/tests/correctness/corr-symv.cpp
+++ b/src/tests/correctness/corr-symv.cpp
@@ -194,6 +194,15 @@ symvCorrectnessTest(TestParams *params)
     compareVectors(params->offCY, params->N, abs(params->incy),
                    params->columnsC * params->rowsC, blasC, clblasC);
 
+
+    if (::testing::Test::HasFailure())
+    {
+        printTestParams(params->order, params->uplo, params->N, useAlpha, base->alpha(), params->offA, params->lda,
+            params->incx, useBeta, base->beta(), params->incy);
+        ::std::cerr << "seed = " << params->seed << ::std::endl;
+        ::std::cerr << "queues = " << params->numCommandQueues << ::std::endl;
+    }
+
     deleteBuffers<T>(A, B, blasC, clblasC);
     delete[] events;
 }
diff --git a/src/tests/correctness/corr-syr.cpp b/src/tests/correctness/corr-syr.cpp
index cae06fc..905585b 100644
--- a/src/tests/correctness/corr-syr.cpp
+++ b/src/tests/correctness/corr-syr.cpp
@@ -229,10 +229,17 @@ syrCorrectnessTest(TestParams *params)
 //    compareMatrices<T>(clblasColumnMajor, 1, (params->lda - params->N), (blasA + params->offa + params->N), (tempA + params->offa + params->N),
 //    					params->lda);
 //	delete[] tempA;
-	printf("Comparing the results\n");
 	compareMatrices<T>(params->order, params->N , params->N, (blasA + params->offa), (clblasA + params->offa),
                        params->lda);
 
+    if (::testing::Test::HasFailure())
+    {
+        printTestParams(params->order, params->uplo, params->N, alpha, params->offBX, params->incx, params->offa, params->lda);
+
+        ::std::cerr << "seed = " << params->seed << ::std::endl;
+        ::std::cerr << "queues = " << params->numCommandQueues << ::std::endl;
+    }
+
 	deleteBuffers<T>(blasA, clblasA, X);
     delete[] events;
 }
diff --git a/src/tests/correctness/corr-syr2.cpp b/src/tests/correctness/corr-syr2.cpp
index 303cce5..453f03c 100644
--- a/src/tests/correctness/corr-syr2.cpp
+++ b/src/tests/correctness/corr-syr2.cpp
@@ -187,6 +187,14 @@ syr2CorrectnessTest(TestParams *params)
     compareMatrices<T>(clblasColumnMajor, params->N , params->N, (blasA + params->offa), (clblasA + params->offa),
                        params->lda);
 
+    if (::testing::Test::HasFailure())
+    {
+        printTestParams(params->order, params->uplo, params->N, alpha, params->offBX, params->incx, params->offCY, params->incy, params->offa, params->lda);
+
+        ::std::cerr << "seed = " << params->seed << ::std::endl;
+        ::std::cerr << "queues = " << params->numCommandQueues << ::std::endl;
+    }
+
 	deleteBuffers<T>(blasA, clblasA, X, Y);
     delete[] events;
 }
diff --git a/src/tests/correctness/corr-syr2k.cpp b/src/tests/correctness/corr-syr2k.cpp
index 1c05161..313cfc6 100644
--- a/src/tests/correctness/corr-syr2k.cpp
+++ b/src/tests/correctness/corr-syr2k.cpp
@@ -217,6 +217,14 @@ syr2kCorrectnessTest(TestParams *params)
     compareMatrices<T>(params->order, params->N, params->N, blasC, clblasC,
                        params->ldc);
 
+    if (::testing::Test::HasFailure())
+    {
+        printTestParams(params->order, params->uplo, params->transA, params->N, params->K, useAlpha, base->alpha(),
+            params->offA, params->lda, params->offBX, params->ldb, useBeta, base->beta(), params->offCY, params->ldc);
+        ::std::cerr << "seed = " << params->seed << ::std::endl;
+        ::std::cerr << "queues = " << params->numCommandQueues << ::std::endl;
+    }
+
     deleteBuffers<T>(A, B, blasC, clblasC);
     delete[] events;
 }
diff --git a/src/tests/correctness/corr-syrk.cpp b/src/tests/correctness/corr-syrk.cpp
index 709ad49..0e85505 100644
--- a/src/tests/correctness/corr-syrk.cpp
+++ b/src/tests/correctness/corr-syrk.cpp
@@ -201,6 +201,14 @@ syrkCorrectnessTest(TestParams *params)
     compareMatrices<T>(params->order, params->N, params->N, blasC, clblasC,
                        params->ldc);
 
+    if (::testing::Test::HasFailure())
+    {
+        printTestParams(params->order, params->uplo, params->transA, params->N, params->K, useAlpha, base->alpha(),
+            params->offA, params->lda, useBeta, base->beta(), params->offCY, params->ldc);
+        ::std::cerr << "seed = " << params->seed << ::std::endl;
+        ::std::cerr << "queues = " << params->numCommandQueues << ::std::endl;
+    }
+
     deleteBuffers<T>(A, blasC, clblasC);
     delete[] events;
 }
diff --git a/src/tests/correctness/corr-tbmv.cpp b/src/tests/correctness/corr-tbmv.cpp
index 5b37ee9..1fa7874 100644
--- a/src/tests/correctness/corr-tbmv.cpp
+++ b/src/tests/correctness/corr-tbmv.cpp
@@ -189,6 +189,15 @@ tbmvCorrectnessTest(TestParams *params)
     releaseMemObjects(bufA, bufX, bufXtemp);
     compareMatrices<T>(clblasColumnMajor, lengthX , 1, (blasX + params->offBX), (clblasX + params->offBX),
                        lengthX);
+
+    if (::testing::Test::HasFailure())
+    {
+        printTestParams(params->order, params->uplo, params->transA, params->diag, params->N, params->K, params->offA,
+            params->lda, params->offBX, params->incx, 0, 1);
+        ::std::cerr << "seed = " << params->seed << ::std::endl;
+        ::std::cerr << "queues = " << params->numCommandQueues << ::std::endl;
+    }
+
     deleteBuffers<T>(A, blasX, clblasX);
     delete[] events;
 }
diff --git a/src/tests/correctness/corr-tbsv.cpp b/src/tests/correctness/corr-tbsv.cpp
index 36947c0..eb55b18 100644
--- a/src/tests/correctness/corr-tbsv.cpp
+++ b/src/tests/correctness/corr-tbsv.cpp
@@ -198,6 +198,15 @@ tbsvCorrectnessTest(TestParams *params)
     releaseMemObjects(bufA, bufX);
     compareMatrices<T>(clblasColumnMajor, lengthX , 1, (blasX + params->offBX), (clblasX + params->offBX),
                        lengthX, (deltaX + params->offBX) );
+
+    if (::testing::Test::HasFailure())
+    {
+        printTestParams(params->order, params->uplo, params->transA, params->diag, params->N, params->K, params->offA,
+            params->lda, params->offBX, params->incx, 0, 1);
+        ::std::cerr << "seed = " << params->seed << ::std::endl;
+        ::std::cerr << "queues = " << params->numCommandQueues << ::std::endl;
+    }
+
     deleteBuffers<T>(A, blasX, clblasX, deltaX);
     delete[] events;
 }
diff --git a/src/tests/correctness/corr-trmm.cpp b/src/tests/correctness/corr-trmm.cpp
index bb6dca6..7cc62df 100644
--- a/src/tests/correctness/corr-trmm.cpp
+++ b/src/tests/correctness/corr-trmm.cpp
@@ -173,6 +173,15 @@ trmmCorrectnessTest(TestParams *params)
     releaseMemObjects(bufA, bufB);
     compareMatrices<T>(params->order, params->M, params->N, blasB, clblasB,
                        params->ldb);
+
+    if (::testing::Test::HasFailure())
+    {
+        printTestParams(params->order, params->side, params->uplo, params->transA, params->diag, params->M, params->N, useAlpha,
+            base->alpha(), params->offA, params->lda, params->offBX, params->ldb);
+        ::std::cerr << "seed = " << params->seed << ::std::endl;
+        ::std::cerr << "queues = " << params->numCommandQueues << ::std::endl;
+    }
+
     deleteBuffers<T>(A, blasB, clblasB);
     delete[] events;
 }
diff --git a/src/tests/correctness/corr-trmv.cpp b/src/tests/correctness/corr-trmv.cpp
index 7eb14da..7e97d6c 100644
--- a/src/tests/correctness/corr-trmv.cpp
+++ b/src/tests/correctness/corr-trmv.cpp
@@ -213,6 +213,14 @@ trmvCorrectnessTest(TestParams *params)
 
     compareMatrices<T>(clblasColumnMajor, lengthX , 1, (blasX + params->offBX), (clblasX + params->offBX),
                        lengthX);
+
+    if (::testing::Test::HasFailure())
+    {
+        printTestParams(params->order, params->uplo, params->transA, params->diag, params->N, params->lda, params->incx, params->offa, params->offBX);
+        ::std::cerr << "seed = " << params->seed << ::std::endl;
+        ::std::cerr << "queues = " << params->numCommandQueues << ::std::endl;
+    }
+
     deleteBuffers<T>(A, blasX, clblasX);
     delete[] events;
 }
diff --git a/src/tests/correctness/corr-trsm.cpp b/src/tests/correctness/corr-trsm.cpp
index a8a9253..aa368f2 100644
--- a/src/tests/correctness/corr-trsm.cpp
+++ b/src/tests/correctness/corr-trsm.cpp
@@ -188,6 +188,15 @@ trsmCorrectnessTest(TestParams *params)
 
     compareMatrices<T>(params->order, params->M, params->N, blasB, clblasB,
                        params->ldb, delta);
+
+    if (::testing::Test::HasFailure())
+    {
+        printTestParams(params->order, params->side, params->uplo, params->transA, params->diag, params->M, params->N, useAlpha,
+            base->alpha(), params->offA, params->lda, params->offBX, params->ldb);
+        ::std::cerr << "seed = " << params->seed << ::std::endl;
+        ::std::cerr << "queues = " << params->numCommandQueues << ::std::endl;
+    }
+
     deleteBuffers<T>(A, B, blasB, clblasB, delta);
     delete[] events;
 }
diff --git a/src/tests/correctness/corr-trsv.cpp b/src/tests/correctness/corr-trsv.cpp
index f3def00..dbda6ae 100644
--- a/src/tests/correctness/corr-trsv.cpp
+++ b/src/tests/correctness/corr-trsv.cpp
@@ -208,6 +208,14 @@ trsvCorrectnessTest(TestParams *params)
     // handle lda correctly based on row-major/col-major..
     compareMatrices<T>( clblasColumnMajor, lengthX , 1, blasX, backX,
                        lengthX, deltaX );
+
+    if (::testing::Test::HasFailure())
+    {
+        printTestParams(params->order, params->uplo, params->transA, params->diag, params->N, params->lda, params->incx, params->offa, params->offBX);
+        ::std::cerr << "seed = " << params->seed << ::std::endl;
+        ::std::cerr << "queues = " << params->numCommandQueues << ::std::endl;
+    }
+
     deleteBuffers<T>(A, blasX, backX, deltaX);
     delete[] events;
 }
diff --git a/src/tests/include/asum.h b/src/tests/include/asum.h
index 0c3f508..131ff68 100644
--- a/src/tests/include/asum.h
+++ b/src/tests/include/asum.h
@@ -61,10 +61,6 @@ protected:
         if (base->useN()) {
             N = base->N();
         }
-
-		printTestParams(N, offx, incx);
-        ::std::cerr << "offAsum = " << offAsum << ::std::endl;
-		::std::cerr << "queues = " << numCommandQueues << ::std::endl;
     }
 
     size_t N;
diff --git a/src/tests/include/axpy.h b/src/tests/include/axpy.h
index c230177..3bb8b14 100644
--- a/src/tests/include/axpy.h
+++ b/src/tests/include/axpy.h
@@ -71,9 +71,6 @@ protected:
         if (base->useN()) {
             N = base->N();
         }
-
-		printTestParams(N, paramAlpha, offBX, incx, offCY, incy);
-		::std::cerr << "queues = " << numCommandQueues << ::std::endl;
     }
 
     size_t N;
diff --git a/src/tests/include/copy.h b/src/tests/include/copy.h
index 5c26a22..f77130e 100644
--- a/src/tests/include/copy.h
+++ b/src/tests/include/copy.h
@@ -63,9 +63,6 @@ protected:
         if (base->useN()) {
             N = base->N();
         }
-
-		printTestParams(N, offx, incx, offy, incy);
-			::std::cerr << "queues = " << numCommandQueues << ::std::endl;
     }
 
     size_t N;
diff --git a/src/tests/include/dot.h b/src/tests/include/dot.h
index 7b15528..55962d3 100644
--- a/src/tests/include/dot.h
+++ b/src/tests/include/dot.h
@@ -67,10 +67,6 @@ protected:
         if (base->useN()) {
             N = base->N();
         }
-
-		printTestParams(N, offx, incx, offy, incy);
-        ::std::cerr << "offDP = " << offDP << ::std::endl;
-		::std::cerr << "queues = " << numCommandQueues << ::std::endl;
     }
 
     size_t N;
diff --git a/src/tests/include/dotc.h b/src/tests/include/dotc.h
index 815ad1c..ffcdbcf 100644
--- a/src/tests/include/dotc.h
+++ b/src/tests/include/dotc.h
@@ -67,10 +67,6 @@ protected:
         if (base->useN()) {
             N = base->N();
         }
-
-		printTestParams(N, offx, incx, offy, incy);
-        ::std::cerr << "offDP = " << offDP << ::std::endl;
-		::std::cerr << "queues = " << numCommandQueues << ::std::endl;
     }
 
     size_t N;
diff --git a/src/tests/include/gbmv.h b/src/tests/include/gbmv.h
index f26dbd7..a6823ef 100644
--- a/src/tests/include/gbmv.h
+++ b/src/tests/include/gbmv.h
@@ -99,11 +99,6 @@ protected:
         KL = KL % M;
         KU = KU % N;
         lda = ::std::max(lda, (KL+KU+1));
-
-        printTestParams(order, transA, M, N, KL, KU, paramAlpha, offA,
-                            lda, offx, incx, paramBeta, offy, incy);
-        ::std::cerr << "seed = " << seed << ::std::endl;
-        ::std::cerr << "queues = " << numCommandQueues << ::std::endl;
     }
 
     clblasOrder order;
diff --git a/src/tests/include/gemm-2.h b/src/tests/include/gemm-2.h
index a4103e7..5f54843 100644
--- a/src/tests/include/gemm-2.h
+++ b/src/tests/include/gemm-2.h
@@ -148,12 +148,6 @@ protected:
             rowsC = ldc;
             break;
         }
-
-        printTestParams(order, transA, transB, M, N, K, useAlpha,
-                        base->alpha(), offA, lda, offB, ldb, useBeta,
-                        base->beta(), offC, ldc);
-        ::std::cerr << "seed = " << seed << ::std::endl;
-        ::std::cerr << "queues = " << numCommandQueues << ::std::endl;
     }
 
     clblasOrder order;
diff --git a/src/tests/include/gemm.h b/src/tests/include/gemm.h
index 1307fac..2156df3 100644
--- a/src/tests/include/gemm.h
+++ b/src/tests/include/gemm.h
@@ -151,11 +151,6 @@ protected:
             break;
         }
         
-        ::std::cerr << "             seed = " << seed << ", "
-          << "queues = " << numCommandQueues << ", ";
-        printTestParams(order, transA, transB, M, N, K, useAlpha,
-                        base->alpha(), offA, lda, offB, ldb, useBeta,
-                        base->beta(), offC, ldc);
     }
 
     clblasOrder order;
diff --git a/src/tests/include/gemv.h b/src/tests/include/gemv.h
index 77f1c8e..66080c9 100644
--- a/src/tests/include/gemv.h
+++ b/src/tests/include/gemv.h
@@ -227,11 +227,6 @@ protected:
         if (!seqY) {
             incy = incy > 0 ? (int)ldc : (int)(0-ldc);
         }
-
-        printTestParams(order, transA, M, N, useAlpha, base->alpha(), offA,
-                        lda, incx, useBeta, base->beta(), incy);
-        ::std::cerr << "seed = " << seed << ::std::endl;
-        ::std::cerr << "queues = " << numCommandQueues << ::std::endl;
     }
 
     clblasOrder order;
diff --git a/src/tests/include/ger.h b/src/tests/include/ger.h
index 3c746dd..ba42f27 100644
--- a/src/tests/include/ger.h
+++ b/src/tests/include/ger.h
@@ -102,14 +102,6 @@ protected:
             lda = ::std::max(lda, rowsA);
             break;
         }
-
-
-	printTestParams(order, M, N, useAlpha,
-                   	base->alpha(),
-			lda, incx, incy, offa, offx, offy);
-
-        ::std::cerr << "seed = " << seed << ::std::endl;
-        ::std::cerr << "queues = " << numCommandQueues << ::std::endl;
     }
 
     clblasOrder order;
diff --git a/src/tests/include/gerc.h b/src/tests/include/gerc.h
index 23b09c3..cca220f 100644
--- a/src/tests/include/gerc.h
+++ b/src/tests/include/gerc.h
@@ -98,12 +98,6 @@ protected:
 	if( lda == 0 )
         	lda = ::std::max(M, N);
 
-	printTestParams(order, M, N, useAlpha,
-                   	base->alpha(),
-			lda, incx, incy, offa, offx, offy);
-
-        ::std::cerr << "seed = " << seed << ::std::endl;
-        ::std::cerr << "queues = " << numCommandQueues << ::std::endl;
     }
 
     clblasOrder order;
diff --git a/src/tests/include/hbmv.h b/src/tests/include/hbmv.h
index adbd022..6056c5e 100644
--- a/src/tests/include/hbmv.h
+++ b/src/tests/include/hbmv.h
@@ -93,11 +93,6 @@ protected:
 
         KLU = KLU % N;
         lda = ::std::max(lda, (KLU+1));
-
-        printTestParams(order, uplo, N, KLU, paramAlpha, offA,
-                            lda, offx, incx, paramBeta, offy, incy);
-        ::std::cerr << "seed = " << seed << ::std::endl;
-        ::std::cerr << "queues = " << numCommandQueues << ::std::endl;
     }
 
     clblasOrder order;
diff --git a/src/tests/include/hemm.h b/src/tests/include/hemm.h
index 000c897..98ceb8d 100644
--- a/src/tests/include/hemm.h
+++ b/src/tests/include/hemm.h
@@ -118,11 +118,6 @@ protected:
             ldc = ::std::max(ldc, M);
             break;
         }
-
-		printTestParams(order, side, uplo, M, N, 1, alpha, 1, beta, lda, ldb, ldc, offA, offb, offc);
-
-        ::std::cerr << "seed = " << seed << ::std::endl;
-        ::std::cerr << "queues = " << numCommandQueues << ::std::endl;
     }
 
     clblasOrder order;
diff --git a/src/tests/include/hemv.h b/src/tests/include/hemv.h
index dcdb84a..0adba22 100644
--- a/src/tests/include/hemv.h
+++ b/src/tests/include/hemv.h
@@ -121,11 +121,6 @@ protected:
         if (base->useIncY()) {
             incy = base->incY();
         }
-
-        printTestParams(order, uplo, N, paramAlpha, offA,
-                        lda, offx, incx, paramBeta, offy, incy);
-        ::std::cerr << "seed = " << seed << ::std::endl;
-        ::std::cerr << "queues = " << numCommandQueues << ::std::endl;
     }
 
     clblasOrder order;
diff --git a/src/tests/include/her.h b/src/tests/include/her.h
index 84b405c..505321d 100644
--- a/src/tests/include/her.h
+++ b/src/tests/include/her.h
@@ -96,12 +96,6 @@ protected:
         if (base->useN()) {
             N = base->N();
         }
-
-	printTestParams(order, uplo, N, alpha,
-			offx, incx, offa, lda );
-
-        ::std::cerr << "seed = " << seed << ::std::endl;
-        ::std::cerr << "queues = " << numCommandQueues << ::std::endl;
     }
 
     clblasOrder order;
diff --git a/src/tests/include/her2.h b/src/tests/include/her2.h
index f64cb30..3b8eae0 100644
--- a/src/tests/include/her2.h
+++ b/src/tests/include/her2.h
@@ -107,11 +107,6 @@ protected:
         if (base->useN()) {
             N = base->N();
         }
-
-		printTestParams(order, uplo, N, 1, alpha, offx, incx, offy, incy, offa, lda);
-
-        ::std::cerr << "seed = " << seed << ::std::endl;
-        ::std::cerr << "queues = " << numCommandQueues << ::std::endl;
     }
 
     clblasOrder order;
diff --git a/src/tests/include/her2k.h b/src/tests/include/her2k.h
index 32e6172..1a1b3cd 100644
--- a/src/tests/include/her2k.h
+++ b/src/tests/include/her2k.h
@@ -137,11 +137,6 @@ protected:
                 rowsC = ldc;
                 break;
         }
-
-        printTestParams(order, uplo, transA, N, K, true, paramAlpha,
-                            offa, lda, offB, ldb, true, paramBeta, offC, ldc);
-        ::std::cerr << "seed = " << seed << ::std::endl;
-        ::std::cerr << "queues = " << numCommandQueues << ::std::endl;
     }
 
     clblasOrder order;
diff --git a/src/tests/include/herk.h b/src/tests/include/herk.h
index 7a5d5b5..a0376fe 100644
--- a/src/tests/include/herk.h
+++ b/src/tests/include/herk.h
@@ -130,11 +130,6 @@ protected:
             rowsC = ldc;
             break;
         }
-
-        printTestParams(order, uplo, transA, N, K, true, paramAlpha,
-                        offA, lda, true, paramBeta, offC, ldc);
-        ::std::cerr << "seed = " << seed << ::std::endl;
-        ::std::cerr << "queues = " << numCommandQueues << ::std::endl;
     }
 
     clblasOrder order;
diff --git a/src/tests/include/iamax.h b/src/tests/include/iamax.h
index b81c50a..3aca87e 100644
--- a/src/tests/include/iamax.h
+++ b/src/tests/include/iamax.h
@@ -59,9 +59,6 @@ protected:
         if (base->useN()) {
             N = base->N();
         }
-
-		printTestParams(N, offx, incx);
-        ::std::cerr << "offiAmax = " << offiAmax << ::std::endl;
     }
 
     size_t N;
diff --git a/src/tests/include/nrm2.h b/src/tests/include/nrm2.h
index 8637067..0102102 100644
--- a/src/tests/include/nrm2.h
+++ b/src/tests/include/nrm2.h
@@ -61,10 +61,6 @@ protected:
         if (base->useN()) {
             N = base->N();
         }
-
-		printTestParams(N, offx, incx);
-        ::std::cerr << "offNRM2 = " << offNRM2 << ::std::endl;
-		::std::cerr << "queues = " << numCommandQueues << ::std::endl;
     }
 
     size_t N;
diff --git a/src/tests/include/rot.h b/src/tests/include/rot.h
index 5444509..b3014fb 100644
--- a/src/tests/include/rot.h
+++ b/src/tests/include/rot.h
@@ -70,9 +70,6 @@ protected:
         {
             numCommandQueues = base->numCommandQueues();
         }
-
-		printTestParams(N, offa, incx, offb, incy, alpha, beta );
-		::std::cerr << "queues = " << numCommandQueues << ::std::endl;
     }
 
     size_t N, offa, offb;
diff --git a/src/tests/include/rotg.h b/src/tests/include/rotg.h
index 874f757..3cec78b 100644
--- a/src/tests/include/rotg.h
+++ b/src/tests/include/rotg.h
@@ -61,9 +61,6 @@ protected:
         {
             numCommandQueues = base->numCommandQueues();
         }
-
-		printTestParams(offSA, offSB, offC, offS);
-			::std::cerr << "queues = " << numCommandQueues << ::std::endl;
     }
 
     size_t offSA, offSB, offC, offS;
diff --git a/src/tests/include/rotm.h b/src/tests/include/rotm.h
index 9600b5a..3775e2f 100644
--- a/src/tests/include/rotm.h
+++ b/src/tests/include/rotm.h
@@ -70,9 +70,6 @@ protected:
         {
             numCommandQueues = base->numCommandQueues();
         }
-
-		printTestParams(N, offa, incx, offb, incy, offc, alpha);
-		::std::cerr << "queues = " << numCommandQueues << ::std::endl;
     }
 
     size_t N, offa, offb, offc;
diff --git a/src/tests/include/rotmg.h b/src/tests/include/rotmg.h
index c535719..3966b86 100644
--- a/src/tests/include/rotmg.h
+++ b/src/tests/include/rotmg.h
@@ -68,9 +68,6 @@ protected:
         {
             numCommandQueues = base->numCommandQueues();
         }
-
-		printTestParams(offBX, offCY, offa, offb, offc, alpha);
-		::std::cerr << "queues = " << numCommandQueues << ::std::endl;
     }
 
     int offa, offb, offc, offBX, offCY;
diff --git a/src/tests/include/sbmv.h b/src/tests/include/sbmv.h
index 0428910..1253a9e 100644
--- a/src/tests/include/sbmv.h
+++ b/src/tests/include/sbmv.h
@@ -93,11 +93,6 @@ protected:
         KLU = KLU % N;
 
         lda = ::std::max(lda, (KLU+1));
-
-        printTestParams(order, uplo, N, KLU, paramAlpha, offA,
-                            lda, offx, incx, paramBeta, offy, incy);
-        ::std::cerr << "seed = " << seed << ::std::endl;
-        ::std::cerr << "queues = " << numCommandQueues << ::std::endl;
     }
 
     clblasOrder order;
diff --git a/src/tests/include/scal.h b/src/tests/include/scal.h
index 922407c..1225954 100644
--- a/src/tests/include/scal.h
+++ b/src/tests/include/scal.h
@@ -62,10 +62,6 @@ protected:
         if (useNumCommandQueues) {
             numCommandQueues = base->numCommandQueues();
         }
-
-        printTestParams(N, paramAlpha, offx, incx);
-        ::std::cerr << "seed = " << seed << ::std::endl;
-        ::std::cerr << "queues = " << numCommandQueues << ::std::endl;
     }
 
     size_t N;
diff --git a/src/tests/include/spmv.h b/src/tests/include/spmv.h
index dce8293..7bd245c 100644
--- a/src/tests/include/spmv.h
+++ b/src/tests/include/spmv.h
@@ -104,11 +104,6 @@ protected:
         if (base->useIncY()) {
             incy = base->incY();
         }
-
-        printTestParams(order, uplo, N, paramAlpha, offA,
-                        0, offx, incx, paramBeta, offy, incy);
-        ::std::cerr << "seed = " << seed << ::std::endl;
-        ::std::cerr << "queues = " << numCommandQueues << ::std::endl;
     }
 
     clblasOrder order;
diff --git a/src/tests/include/swap.h b/src/tests/include/swap.h
index 6afda58..c2f2055 100644
--- a/src/tests/include/swap.h
+++ b/src/tests/include/swap.h
@@ -68,9 +68,6 @@ protected:
         if (base->useN()) {
             N = base->N();
         }
-
-		printTestParams(N, offBX, incx, offCY, incy);
-		::std::cerr << "queues = " << numCommandQueues << ::std::endl;
     }
 
     size_t N;
diff --git a/src/tests/include/symm.h b/src/tests/include/symm.h
index 29214b3..b2f3cd9 100644
--- a/src/tests/include/symm.h
+++ b/src/tests/include/symm.h
@@ -120,11 +120,6 @@ protected:
             ldc = ::std::max(ldc, M);
             break;
         }
-
-		printTestParams(order, side, uplo, M, N, 1, alpha, 1, beta, lda, ldb, ldc, offa, offb, offc);
-
-        ::std::cerr << "seed = " << seed << ::std::endl;
-        ::std::cerr << "queues = " << numCommandQueues << ::std::endl;
     }
 
     clblasOrder order;
diff --git a/src/tests/include/symv.h b/src/tests/include/symv.h
index f8f76a6..e454222 100644
--- a/src/tests/include/symv.h
+++ b/src/tests/include/symv.h
@@ -154,11 +154,6 @@ protected:
             columnsC = N;
             break;
         }
-
-        printTestParams(order, uplo, N, useAlpha, base->alpha(), offsetA, lda,
-                        incx, useBeta, base->beta(), incy);
-        ::std::cerr << "seed = " << seed << ::std::endl;
-        ::std::cerr << "queues = " << numCommandQueues << ::std::endl;
     }
 
     clblasOrder order;
diff --git a/src/tests/include/syr.h b/src/tests/include/syr.h
index 056dcba..fd169fe 100644
--- a/src/tests/include/syr.h
+++ b/src/tests/include/syr.h
@@ -101,11 +101,6 @@ protected:
 //		if (base->useAlpha()) {
 //			alpha = base->Alpha();
 //		}
-
-		printTestParams(order, uplo, N, alpha, offx, incx, offa, lda);
-
-        ::std::cerr << "seed = " << seed << ::std::endl;
-        ::std::cerr << "queues = " << numCommandQueues << ::std::endl;
     }
 
     clblasOrder order;
diff --git a/src/tests/include/syr2.h b/src/tests/include/syr2.h
index 7045613..7f654c4 100644
--- a/src/tests/include/syr2.h
+++ b/src/tests/include/syr2.h
@@ -108,11 +108,6 @@ protected:
         if (base->useN()) {
             N = base->N();
         }
-
-		printTestParams(order, uplo, N, alpha, offx, incx, offy, incy, offa, lda);
-
-        ::std::cerr << "seed = " << seed << ::std::endl;
-        ::std::cerr << "queues = " << numCommandQueues << ::std::endl;
     }
 
     clblasOrder order;
diff --git a/src/tests/include/syr2k.h b/src/tests/include/syr2k.h
index ff09c2f..a1ebc1d 100644
--- a/src/tests/include/syr2k.h
+++ b/src/tests/include/syr2k.h
@@ -141,11 +141,6 @@ protected:
             rowsC = ldc;
             break;
         }
-
-        printTestParams(order, uplo, transA, N, K, useAlpha, base->alpha(),
-                        offA, lda, offB, ldb, useBeta, base->beta(), offC, ldc);
-        ::std::cerr << "seed = " << seed << ::std::endl;
-        ::std::cerr << "queues = " << numCommandQueues << ::std::endl;
     }
 
     clblasOrder order;
diff --git a/src/tests/include/syrk.h b/src/tests/include/syrk.h
index b855723..4a0be45 100644
--- a/src/tests/include/syrk.h
+++ b/src/tests/include/syrk.h
@@ -125,11 +125,6 @@ protected:
             rowsC = ldc;
             break;
         }
-
-        printTestParams(order, uplo, transA, N, K, useAlpha, base->alpha(),
-                        offA, lda, useBeta, base->beta(), offC, ldc);
-        ::std::cerr << "seed = " << seed << ::std::endl;
-        ::std::cerr << "queues = " << numCommandQueues << ::std::endl;
     }
 
     clblasOrder order;
diff --git a/src/tests/include/tbmv.h b/src/tests/include/tbmv.h
index 19063d6..95f7974 100644
--- a/src/tests/include/tbmv.h
+++ b/src/tests/include/tbmv.h
@@ -88,11 +88,6 @@ protected:
 
         KLU = KLU % N;
         lda = ::std::max(lda, (KLU+1));
-
-        printTestParams(order, uplo, transA, diag, N, KLU, offA,
-                            lda, offx, incx, 0, 1);
-        ::std::cerr << "seed = " << seed << ::std::endl;
-        ::std::cerr << "queues = " << numCommandQueues << ::std::endl;
     }
 
     clblasOrder order;
diff --git a/src/tests/include/tbsv.h b/src/tests/include/tbsv.h
index 890e1c2..5096ed5 100644
--- a/src/tests/include/tbsv.h
+++ b/src/tests/include/tbsv.h
@@ -89,11 +89,6 @@ protected:
 
         KLU = KLU % N;
         lda = ::std::max(lda, (KLU+1));
-
-        printTestParams(order, uplo, transA, diag, N, KLU, offA,
-                            lda, offx, incx, 0, 1);
-        ::std::cerr << "seed = " << seed << ::std::endl;
-        ::std::cerr << "queues = " << numCommandQueues << ::std::endl;
     }
 
     clblasOrder order;
diff --git a/src/tests/include/trmm.h b/src/tests/include/trmm.h
index b2e5482..cc9d1a7 100644
--- a/src/tests/include/trmm.h
+++ b/src/tests/include/trmm.h
@@ -127,11 +127,6 @@ protected:
             rowsB = ldb;
             break;
         }
-
-        printTestParams(order, side, uplo, transA, diag, M, N, useAlpha,
-                        base->alpha(), offA, lda, offB, ldb);
-        ::std::cerr << "seed = " << seed << ::std::endl;
-        ::std::cerr << "queues = " << numCommandQueues << ::std::endl;
     }
 
     clblasOrder order;
diff --git a/src/tests/include/trmv.h b/src/tests/include/trmv.h
index 204bbce..5b0c39f 100644
--- a/src/tests/include/trmv.h
+++ b/src/tests/include/trmv.h
@@ -98,10 +98,6 @@ protected:
         if (base->useN()) {
             N = base->N();
         }
-
-		printTestParams(order, uplo, transA, diag, N, lda, incx, offa, offx);
-			::std::cerr << "seed = " << seed << ::std::endl;
-			::std::cerr << "queues = " << numCommandQueues << ::std::endl;
     }
 
     clblasOrder order;
diff --git a/src/tests/include/trsm.h b/src/tests/include/trsm.h
index e0e90ea..c509ed7 100644
--- a/src/tests/include/trsm.h
+++ b/src/tests/include/trsm.h
@@ -130,11 +130,6 @@ protected:
             rowsB = ldb;
             break;
         }
-
-        printTestParams(order, side, uplo, transA, diag, M, N, useAlpha,
-                        base->alpha(), offA, lda, offB, ldb);
-        ::std::cerr << "seed = " << seed << ::std::endl;
-        ::std::cerr << "queues = " << numCommandQueues << ::std::endl;
     }
 
     clblasOrder order;
diff --git a/src/tests/include/trsv.h b/src/tests/include/trsv.h
index 6410d11..0f54cb9 100644
--- a/src/tests/include/trsv.h
+++ b/src/tests/include/trsv.h
@@ -97,10 +97,6 @@ protected:
         if (base->useN()) {
             N = base->N();
         }
-
-	    printTestParams(order, uplo, transA, diag, N, lda, incx, offa, offx);
-        ::std::cerr << "seed = " << seed << ::std::endl;
-        ::std::cerr << "queues = " << numCommandQueues << ::std::endl;
     }
 
     clblasOrder order;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/clblas.git



More information about the debian-science-commits mailing list