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_ROCM
Commits
97bad9f9
Commit
97bad9f9
authored
Nov 21, 2024
by
Andriy Roshchenko
Browse files
Cleanup
parent
8993448c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
12 deletions
+1
-12
example/65_gemm_multiply_multiply/gemm_multiply_multiply_xdl_fp8_ab_scale.cpp
...iply_multiply/gemm_multiply_multiply_xdl_fp8_ab_scale.cpp
+0
-11
include/ck/tensor_operation/gpu/thread/threadwise_tensor_slice_transfer_v3r1.hpp
...tion/gpu/thread/threadwise_tensor_slice_transfer_v3r1.hpp
+1
-1
No files found.
example/65_gemm_multiply_multiply/gemm_multiply_multiply_xdl_fp8_ab_scale.cpp
View file @
97bad9f9
...
...
@@ -329,17 +329,6 @@ int main(int argc, char* argv[])
{
std
::
cout
<<
std
::
fixed
<<
std
::
setprecision
(
16
);
float
a
=
ck
::
type_convert
<
float
>
(
a0_m_k
(
0
,
10
));
float
b
=
ck
::
type_convert
<
float
>
(
b0_k_n
(
0
,
10
));
std
::
cout
<<
"a(0,10): "
<<
a
<<
std
::
endl
;
std
::
cout
<<
"b(0,10): "
<<
b
<<
std
::
endl
;
std
::
cout
<<
"a: "
<<
ck
::
type_convert
<
float
>
(
a0_m_k
(
0
,
0
))
<<
std
::
endl
;
std
::
cout
<<
"a: "
<<
ck
::
type_convert
<
float
>
(
a0_m_k
(
0
,
1
))
<<
std
::
endl
;
std
::
cout
<<
"a: "
<<
ck
::
type_convert
<
float
>
(
a0_m_k
(
0
,
2
))
<<
std
::
endl
;
std
::
cout
<<
"b: "
<<
ck
::
type_convert
<
float
>
(
b0_k_n
(
0
,
0
))
<<
std
::
endl
;
std
::
cout
<<
"b: "
<<
ck
::
type_convert
<
float
>
(
b0_k_n
(
1
,
0
))
<<
std
::
endl
;
std
::
cout
<<
"b: "
<<
ck
::
type_convert
<
float
>
(
b0_k_n
(
2
,
0
))
<<
std
::
endl
;
float
d
=
ck
::
type_convert
<
float
>
(
e_m_n_device_result
(
0
,
10
));
float
h
=
ck
::
type_convert
<
float
>
(
e_m_n_host_result
(
10
,
0
));
std
::
cout
<<
"device result: "
<<
d
<<
std
::
endl
;
...
...
include/ck/tensor_operation/gpu/thread/threadwise_tensor_slice_transfer_v3r1.hpp
View file @
97bad9f9
...
...
@@ -334,7 +334,7 @@ struct ThreadwiseTensorSliceTransfer_v3r1
const
bool
is_src_valid
=
src_oob_thread_scratch_tuple_
(
thread_scratch_id
)
.
template
GetAsType
<
bool
>(
src_data_idx_seq
);
auto
op_r_v
=
is_src_valid
?
op_r
:
vector_t
{
0
}
;
auto
op_r_v
=
is_src_valid
?
op_r
:
vector_t
(
0
)
;
src_thread_scratch_tuple_
(
thread_scratch_id
)
.
template
SetAsType
<
vector_t
>(
src_data_idx_seq
,
op_r_v
);
...
...
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