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
82b6858d
Commit
82b6858d
authored
Dec 20, 2021
by
ltqin
Browse files
fix bug for even and odd buf
parent
16c3775a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
composable_kernel/include/tensor_operation/gridwise_gemm_xdlops_v2r3r1.hpp
.../include/tensor_operation/gridwise_gemm_xdlops_v2r3r1.hpp
+4
-4
No files found.
composable_kernel/include/tensor_operation/gridwise_gemm_xdlops_v2r3r1.hpp
View file @
82b6858d
...
@@ -615,10 +615,10 @@ struct GridwiseGemm_k0mk1_k0nk1_mn_xdlops_v2r3r1
...
@@ -615,10 +615,10 @@ struct GridwiseGemm_k0mk1_k0nk1_mn_xdlops_v2r3r1
b_blockwise_copy
.
RunRead
(
b_blockwise_copy
.
RunRead
(
b_grid_desc_k0_n_k1
,
b_grid_buf
,
b_k0_n_k1_grid_step_hacks
);
b_grid_desc_k0_n_k1
,
b_grid_buf
,
b_k0_n_k1_grid_step_hacks
);
// gemm odd data
// gemm odd data
blockwise_gemm
.
Run
(
a_block_
even
_buf
,
b_block_odd_buf
,
c_thread_buf
);
blockwise_gemm
.
Run
(
a_block_
odd
_buf
,
b_block_odd_buf
,
c_thread_buf
);
// write data into even buffer
// write data into even buffer
a_blockwise_copy
.
RunWrite
(
a_block_desc_k0_m_k1
,
a_block_
odd
_buf
);
a_blockwise_copy
.
RunWrite
(
a_block_desc_k0_m_k1
,
a_block_
even
_buf
);
b_blockwise_copy
.
RunWrite
(
b_block_desc_k0_n_k1
,
b_block_
odd
_buf
);
b_blockwise_copy
.
RunWrite
(
b_block_desc_k0_n_k1
,
b_block_
even
_buf
);
k0_block_data_begin
+=
2
*
K0PerBlock
;
k0_block_data_begin
+=
2
*
K0PerBlock
;
}
while
(
k0_block_data_begin
<
(
K0
-
2
*
K0PerBlock
));
}
while
(
k0_block_data_begin
<
(
K0
-
2
*
K0PerBlock
));
...
@@ -648,7 +648,7 @@ struct GridwiseGemm_k0mk1_k0nk1_mn_xdlops_v2r3r1
...
@@ -648,7 +648,7 @@ struct GridwiseGemm_k0mk1_k0nk1_mn_xdlops_v2r3r1
block_sync_lds
();
block_sync_lds
();
// gemm odd data
// gemm odd data
blockwise_gemm
.
Run
(
a_block_
even
_buf
,
b_block_odd_buf
,
c_thread_buf
);
blockwise_gemm
.
Run
(
a_block_
odd
_buf
,
b_block_odd_buf
,
c_thread_buf
);
}
}
else
else
{
{
...
...
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