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
53fd4f42
Commit
53fd4f42
authored
Jun 18, 2022
by
Chao Liu
Browse files
use type_convert
parent
d7206533
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
library/include/ck/library/reference_tensor_operation/cpu/reference_gemm_bias_2d.hpp
...reference_tensor_operation/cpu/reference_gemm_bias_2d.hpp
+2
-2
No files found.
library/include/ck/library/reference_tensor_operation/cpu/reference_gemm_bias_2d.hpp
View file @
53fd4f42
...
@@ -66,8 +66,8 @@ struct ReferenceGemmBias2D : public device::BaseOperator
...
@@ -66,8 +66,8 @@ struct ReferenceGemmBias2D : public device::BaseOperator
for
(
int
k
=
0
;
k
<
K
;
++
k
)
for
(
int
k
=
0
;
k
<
K
;
++
k
)
{
{
arg
.
a_element_op_
(
a
,
static_cas
t
<
AccDataType
>
(
arg
.
a_m_k_
(
m
,
k
)));
arg
.
a_element_op_
(
a
,
ck
::
type_conver
t
<
AccDataType
>
(
arg
.
a_m_k_
(
m
,
k
)));
arg
.
b_element_op_
(
b
,
static_cas
t
<
AccDataType
>
(
arg
.
b_k_n_
(
k
,
n
)));
arg
.
b_element_op_
(
b
,
ck
::
type_conver
t
<
AccDataType
>
(
arg
.
b_k_n_
(
k
,
n
)));
acc
+=
a
*
b
;
acc
+=
a
*
b
;
}
}
...
...
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