Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
composable_kernel
Commits
4d07aa12
Commit
4d07aa12
authored
May 12, 2022
by
myamlak
Browse files
Format.
parent
0c2d00df
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
8 deletions
+3
-8
example/19_cgemm/cgemm_xdl_bf16.cpp
example/19_cgemm/cgemm_xdl_bf16.cpp
+1
-4
library/include/ck/library/reference_tensor_operation/cpu/reference_cgemm.hpp
...ibrary/reference_tensor_operation/cpu/reference_cgemm.hpp
+2
-4
No files found.
example/19_cgemm/cgemm_xdl_bf16.cpp
View file @
4d07aa12
...
@@ -17,7 +17,4 @@
...
@@ -17,7 +17,4 @@
#include "gemm_specialization.hpp"
#include "gemm_specialization.hpp"
// stub only
// stub only
int
main
()
int
main
()
{
return
0
;
}
{
return
0
;
}
library/include/ck/library/reference_tensor_operation/cpu/reference_cgemm.hpp
View file @
4d07aa12
...
@@ -64,8 +64,7 @@ struct ReferenceCGemm : public device::BaseOperator
...
@@ -64,8 +64,7 @@ struct ReferenceCGemm : public device::BaseOperator
if
(
K
!=
arg
.
a_m_k_imag_
.
mDesc
.
GetLengths
()[
1
])
if
(
K
!=
arg
.
a_m_k_imag_
.
mDesc
.
GetLengths
()[
1
])
{
{
throw
std
::
runtime_error
(
throw
std
::
runtime_error
(
"wrong! Incompatible real and imag sizes in CGEMM"
);
"wrong! Incompatible real and imag sizes in CGEMM"
);
}
}
float
v_acc
=
0
;
float
v_acc
=
0
;
...
@@ -97,8 +96,7 @@ struct ReferenceCGemm : public device::BaseOperator
...
@@ -97,8 +96,7 @@ struct ReferenceCGemm : public device::BaseOperator
if
(
K
!=
arg
.
a_m_k_imag_
.
mDesc
.
GetLengths
()[
1
])
if
(
K
!=
arg
.
a_m_k_imag_
.
mDesc
.
GetLengths
()[
1
])
{
{
throw
std
::
runtime_error
(
throw
std
::
runtime_error
(
"wrong! Incompatible real and imag sizes in CGEMM"
);
"wrong! Incompatible real and imag sizes in CGEMM"
);
}
}
float
v_acc
=
0
;
float
v_acc
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment