diff options
Diffstat (limited to 'src/routines/xsyr2k.cc')
-rw-r--r-- | src/routines/xsyr2k.cc | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/routines/xsyr2k.cc b/src/routines/xsyr2k.cc index a7aa6945..abb8b7eb 100644 --- a/src/routines/xsyr2k.cc +++ b/src/routines/xsyr2k.cc @@ -54,9 +54,6 @@ StatusCode Xsyr2k<T>::DoSyr2k(const Layout layout, const Triangle triangle, cons (layout == Layout::kRowMajor && ab_transpose == Transpose::kNo); auto c_rotated = (layout == Layout::kRowMajor); - // In case of complex data-types, the transpose can also become a conjugate transpose - auto ab_conjugate = (ab_transpose == Transpose::kConjugate); - // Computes the first and second dimensions of the A and B matrices taking the layout into account auto ab_one = (ab_rotated) ? k : n; auto ab_two = (ab_rotated) ? n : k; @@ -95,18 +92,18 @@ StatusCode Xsyr2k<T>::DoSyr2k(const Layout layout, const Triangle triangle, cons // fill them up until they reach a certain multiple of size (kernel parameter dependent). status = PadCopyTransposeMatrix(ab_one, ab_two, a_ld, a_offset, a_buffer, n_ceiled, k_ceiled, n_ceiled, 0, temp_a, - ab_rotated, ab_conjugate, true, false, false, program); + ab_rotated, false, true, false, false, false, program); if (ErrorIn(status)) { return status; } status = PadCopyTransposeMatrix(ab_one, ab_two, b_ld, b_offset, b_buffer, n_ceiled, k_ceiled, n_ceiled, 0, temp_b, - ab_rotated, ab_conjugate, true, false, false, program); + ab_rotated, false, true, false, false, false, program); if (ErrorIn(status)) { return status; } // Furthermore, also creates a (possibly padded) copy of matrix C, since it is not allowed to // modify the other triangle. status = PadCopyTransposeMatrix(n, n, c_ld, c_offset, c_buffer, n_ceiled, n_ceiled, n_ceiled, 0, temp_c, - c_rotated, false, true, false, false, program); + c_rotated, false, true, false, false, false, program); if (ErrorIn(status)) { return status; } // Retrieves the XgemmUpper or XgemmLower kernel from the compiled binary @@ -148,7 +145,7 @@ StatusCode Xsyr2k<T>::DoSyr2k(const Layout layout, const Triangle triangle, cons auto lower = (triangle == Triangle::kLower); status = PadCopyTransposeMatrix(n_ceiled, n_ceiled, n_ceiled, 0, temp_c, n, n, c_ld, c_offset, c_buffer, - c_rotated, false, false, upper, lower, program); + c_rotated, false, false, upper, lower, false, program); if (ErrorIn(status)) { return status; } // Successfully finished the computation |