summaryrefslogtreecommitdiff
path: root/test/correctness/testabc.cc
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2015-06-26 20:56:21 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2015-06-26 20:56:21 +0200
commit77e2157485b87f6acdfe7d6cf2b031988b3881fb (patch)
tree1cc28ba9af6d5ac4816c0c02e7b0997042a6bec1 /test/correctness/testabc.cc
parent985eeac50306e9efbbfcc758eafb93acb66a8a78 (diff)
parente27e339ebfa7eb7b20c442d431dd41db17f30583 (diff)
Merge pull request #9 from CNugteren/level3_routines
Added SYRK and SYR2K level-3 routines
Diffstat (limited to 'test/correctness/testabc.cc')
-rw-r--r--test/correctness/testabc.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/correctness/testabc.cc b/test/correctness/testabc.cc
index eed17560..64e02523 100644
--- a/test/correctness/testabc.cc
+++ b/test/correctness/testabc.cc
@@ -45,7 +45,7 @@ TestABC<T>::TestABC(int argc, char *argv[], const bool silent,
// Tests the routine for a wide variety of parameters
template <typename T>
-void TestABC<T>::TestRegular(Arguments<T> &args, const std::string &name) {
+void TestABC<T>::TestRegular(Arguments<T> &args, const std::string &name, const bool symmetric) {
if (!PrecisionSupported()) { return; }
TestStart("regular behaviour", name);
@@ -63,6 +63,7 @@ void TestABC<T>::TestRegular(Arguments<T> &args, const std::string &name) {
args.m = m;
for (auto &n: kMatrixDims) {
args.n = n;
+ if (symmetric && m != n) { continue; }
for (auto &k: kMatrixDims) {
args.k = k;