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
5ac70ce0
Commit
5ac70ce0
authored
Jun 01, 2021
by
Jing Zhang
Browse files
clean code
parent
e1a0fb94
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
composable_kernel/include/tensor_operation/blockwise_gemm_xdlops.hpp
...kernel/include/tensor_operation/blockwise_gemm_xdlops.hpp
+5
-2
No files found.
composable_kernel/include/tensor_operation/blockwise_gemm_xdlops.hpp
View file @
5ac70ce0
...
@@ -167,6 +167,9 @@ struct BlockwiseGemmXdlops_km_kn_m0m1m2n_v1
...
@@ -167,6 +167,9 @@ struct BlockwiseGemmXdlops_km_kn_m0m1m2n_v1
make_tuple
(
I0
,
I0
,
I0
,
I0
),
make_tuple
(
I0
,
I0
,
I0
,
I0
),
b_thread_buf
);
b_thread_buf
);
using
mfma_input_type
=
typename
vector_type
<
FloatAB
,
xdlops_gemm
.
mfma_type
.
k_base
>::
type
;
static_for
<
0
,
a_thread_desc_
.
GetElementSpaceSize
(),
1
>
{}([
&
](
auto
i
)
{
static_for
<
0
,
a_thread_desc_
.
GetElementSpaceSize
(),
1
>
{}([
&
](
auto
i
)
{
a_thread_vec
.
template
AsType
<
FloatAB
>()(
Number
<
i
>
{})
=
a_thread_buf
[
Number
<
i
>
{}];
a_thread_vec
.
template
AsType
<
FloatAB
>()(
Number
<
i
>
{})
=
a_thread_buf
[
Number
<
i
>
{}];
});
});
...
@@ -181,8 +184,8 @@ struct BlockwiseGemmXdlops_km_kn_m0m1m2n_v1
...
@@ -181,8 +184,8 @@ struct BlockwiseGemmXdlops_km_kn_m0m1m2n_v1
decltype
(
b_thread_desc_
),
decltype
(
b_thread_desc_
),
decltype
(
c_thread_desc_
),
decltype
(
c_thread_desc_
),
m0
,
m0
,
n0
>(
a_thread_vec
.
template
AsType
<
half4_t
>(),
n0
>(
a_thread_vec
.
template
AsType
<
mfma_input_type
>(),
b_thread_vec
.
template
AsType
<
half4_t
>(),
b_thread_vec
.
template
AsType
<
mfma_input_type
>(),
c_thread_buf
);
c_thread_buf
);
});
});
});
});
...
...
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