summaryrefslogtreecommitdiff
path: root/src/routines/level3/xsyr2k.cpp
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2016-10-22 10:41:02 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2016-10-22 10:41:02 +0200
commitdb17b1fbe9267ccd3ad8a7c419689d7b7b98a763 (patch)
treea277d044f361596a0febff3cdaa7101b982aac64 /src/routines/level3/xsyr2k.cpp
parent597974b40d52d9cd199e5189d6d55cd12c841e63 (diff)
Fixed a bug in the SYRK/SYR2K/HERK/HER2K routines that would occur with specific tuning parameters
Diffstat (limited to 'src/routines/level3/xsyr2k.cpp')
-rw-r--r--src/routines/level3/xsyr2k.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routines/level3/xsyr2k.cpp b/src/routines/level3/xsyr2k.cpp
index 158cd9e5..badf3100 100644
--- a/src/routines/level3/xsyr2k.cpp
+++ b/src/routines/level3/xsyr2k.cpp
@@ -75,7 +75,7 @@ StatusCode Xsyr2k<T>::DoSyr2k(const Layout layout, const Triangle triangle, cons
if (ErrorIn(status)) { return status; }
// Calculates the ceiled versions of n and k
- auto n_ceiled = Ceil(n, db_["NWG"]);
+ auto n_ceiled = Ceil(Ceil(n, db_["MWG"]), db_["NWG"]);
auto k_ceiled = Ceil(k, db_["KWG"]);
// Decides which kernel to run: the upper-triangular or lower-triangular version