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
a18e6481
Commit
a18e6481
authored
Sep 15, 2021
by
Qianfeng Zhang
Browse files
Tiny fix in using data type template parameters in blockwise and direct_threadwise kernel
parent
9e80cdce
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
composable_kernel/include/tensor_operation/gridwise_generic_2d_reduction_blockwise.hpp
...sor_operation/gridwise_generic_2d_reduction_blockwise.hpp
+1
-1
composable_kernel/include/tensor_operation/gridwise_generic_2d_reduction_direct_threadwise.hpp
...ation/gridwise_generic_2d_reduction_direct_threadwise.hpp
+2
-2
No files found.
composable_kernel/include/tensor_operation/gridwise_generic_2d_reduction_blockwise.hpp
View file @
a18e6481
...
@@ -281,7 +281,7 @@ struct GridwiseReduction_xy_to_x_blockwise
...
@@ -281,7 +281,7 @@ struct GridwiseReduction_xy_to_x_blockwise
ThreadClusterLengths
,
ThreadClusterLengths
,
Sequence
<
0
,
1
>
,
Sequence
<
0
,
1
>
,
srcDataType
,
srcDataType
,
dstData
Type
,
comp
Type
,
src2dDescType
,
src2dDescType
,
decltype
(
in_block_desc
),
decltype
(
in_block_desc
),
Sequence
<
0
,
1
>
,
Sequence
<
0
,
1
>
,
...
...
composable_kernel/include/tensor_operation/gridwise_generic_2d_reduction_direct_threadwise.hpp
View file @
a18e6481
...
@@ -232,7 +232,7 @@ struct GridwiseReduction_xy_to_x_direct_threadwise
...
@@ -232,7 +232,7 @@ struct GridwiseReduction_xy_to_x_direct_threadwise
index_t
thread_global_1d_id
=
get_block_1d_id
()
*
BlockSize
+
get_thread_local_1d_id
();
index_t
thread_global_1d_id
=
get_block_1d_id
()
*
BlockSize
+
get_thread_local_1d_id
();
auto
threadwise_src_load
=
ThreadwiseTensorSliceTransfer_v2
<
srcDataType
,
auto
threadwise_src_load
=
ThreadwiseTensorSliceTransfer_v2
<
srcDataType
,
dstData
Type
,
comp
Type
,
src2dDescType
,
src2dDescType
,
decltype
(
ThreadBufferDesc
),
decltype
(
ThreadBufferDesc
),
ThreadBufferLengths
,
ThreadBufferLengths
,
...
@@ -377,7 +377,7 @@ struct GridwiseReduction_xy_to_x_direct_threadwise
...
@@ -377,7 +377,7 @@ struct GridwiseReduction_xy_to_x_direct_threadwise
index_t
thread_global_1d_id
=
get_block_1d_id
()
*
BlockSize
+
get_thread_local_1d_id
();
index_t
thread_global_1d_id
=
get_block_1d_id
()
*
BlockSize
+
get_thread_local_1d_id
();
auto
threadwise_src_val_load
=
ThreadwiseTensorSliceTransfer_v2
<
srcDataType
,
auto
threadwise_src_val_load
=
ThreadwiseTensorSliceTransfer_v2
<
srcDataType
,
dstData
Type
,
comp
Type
,
src2dDescType
,
src2dDescType
,
decltype
(
ThreadBufferDesc
),
decltype
(
ThreadBufferDesc
),
ThreadBufferLengths
,
ThreadBufferLengths
,
...
...
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