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
ff05560b
Commit
ff05560b
authored
Apr 19, 2023
by
Rosty Geyyer
Browse files
Format
parent
34348bd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
include/ck/tensor_operation/gpu/thread/threadwise_tensor_slice_transfer_v3r1.hpp
...tion/gpu/thread/threadwise_tensor_slice_transfer_v3r1.hpp
+3
-2
No files found.
include/ck/tensor_operation/gpu/thread/threadwise_tensor_slice_transfer_v3r1.hpp
View file @
ff05560b
...
...
@@ -347,14 +347,15 @@ struct ThreadwiseTensorSliceTransfer_v3r1
});
}
static_ford
<
SliceLengths
>
{}([
&
](
auto
idx
)
{
// pick the right conversion method
// pick the right conversion method
#if CK_EXPERIMENTAL_CONVERT_PRECISION
using
UnaryConvert
=
ck
::
tensor_operation
::
element_wise
::
UnaryConvertPrecision
;
#else
using
UnaryConvert
=
ck
::
tensor_operation
::
element_wise
::
UnaryConvert
;
#endif
// convert from SrcData to DstData here
UnaryConvert
{}(
dst_thread_scratch_
(
idx
),
src_thread_scratch_tuple_
[
thread_scratch_id
][
idx
]);
UnaryConvert
{}(
dst_thread_scratch_
(
idx
),
src_thread_scratch_tuple_
[
thread_scratch_id
][
idx
]);
});
#endif
}
...
...
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