From db17b1fbe9267ccd3ad8a7c419689d7b7b98a763 Mon Sep 17 00:00:00 2001 From: Cedric Nugteren Date: Sat, 22 Oct 2016 10:41:02 +0200 Subject: Fixed a bug in the SYRK/SYR2K/HERK/HER2K routines that would occur with specific tuning parameters --- src/routines/level3/xsyr2k.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/routines/level3/xsyr2k.cpp') 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::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 -- cgit v1.2.3