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
974d67f2
Commit
974d67f2
authored
Oct 29, 2024
by
Andriy Roshchenko
Browse files
Add missing constructor.
parent
b206fb26
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
include/ck/tensor_operation/gpu/thread/threadwise_tensor_slice_transfer_v3r1.hpp
...tion/gpu/thread/threadwise_tensor_slice_transfer_v3r1.hpp
+1
-1
include/ck/utility/amd_ck_fp8.hpp
include/ck/utility/amd_ck_fp8.hpp
+3
-3
No files found.
include/ck/tensor_operation/gpu/thread/threadwise_tensor_slice_transfer_v3r1.hpp
View file @
974d67f2
...
...
@@ -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
);
...
...
include/ck/utility/amd_ck_fp8.hpp
View file @
974d67f2
...
...
@@ -406,12 +406,12 @@ struct non_native_vector_base<f8_ocp_t, 2>
{
using
data_t
=
f8_ocp_t
::
data_type
;
using
type
=
non_native_vector_base
<
f8_ocp_t
,
2
>
;
__host__
__device__
non_native_vector_base
()
=
default
;
using
data_v
=
fp8_impl
::
fp8x2_storage_t
;
// type of storage vector
data_v
d
;
// storage vector
__host__
__device__
non_native_vector_base
()
=
default
;
__host__
__device__
non_native_vector_base
(
data_t
a
)
:
d
{
a
}
{}
using
float2_t
=
fp8_impl
::
float2_t
;
#if CK_USE_OCP_FP8
...
...
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