From 4d07aa1249cf080ba3955f788d0b8e7e5b9929fa Mon Sep 17 00:00:00 2001 From: myamlak Date: Thu, 12 May 2022 09:38:59 +0000 Subject: [PATCH] Format. --- example/19_cgemm/cgemm_xdl_bf16.cpp | 5 +---- .../reference_tensor_operation/cpu/reference_cgemm.hpp | 6 ++---- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/example/19_cgemm/cgemm_xdl_bf16.cpp b/example/19_cgemm/cgemm_xdl_bf16.cpp index 739323dd52..9e3e98e79f 100644 --- a/example/19_cgemm/cgemm_xdl_bf16.cpp +++ b/example/19_cgemm/cgemm_xdl_bf16.cpp @@ -17,7 +17,4 @@ #include "gemm_specialization.hpp" // stub only -int main() -{ - return 0; -} +int main() { return 0; } diff --git a/library/include/ck/library/reference_tensor_operation/cpu/reference_cgemm.hpp b/library/include/ck/library/reference_tensor_operation/cpu/reference_cgemm.hpp index aa4addab23..4f4dcafdb7 100644 --- a/library/include/ck/library/reference_tensor_operation/cpu/reference_cgemm.hpp +++ b/library/include/ck/library/reference_tensor_operation/cpu/reference_cgemm.hpp @@ -64,8 +64,7 @@ struct ReferenceCGemm : public device::BaseOperator if(K != arg.a_m_k_imag_.mDesc.GetLengths()[1]) { - throw std::runtime_error( - "wrong! Incompatible real and imag sizes in CGEMM"); + throw std::runtime_error("wrong! Incompatible real and imag sizes in CGEMM"); } float v_acc = 0; @@ -97,8 +96,7 @@ struct ReferenceCGemm : public device::BaseOperator if(K != arg.a_m_k_imag_.mDesc.GetLengths()[1]) { - throw std::runtime_error( - "wrong! Incompatible real and imag sizes in CGEMM"); + throw std::runtime_error("wrong! Incompatible real and imag sizes in CGEMM"); } float v_acc = 0;