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
d7112d37
Commit
d7112d37
authored
Apr 20, 2022
by
rocking
Browse files
Fix the padding
parent
0e6bf342
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
include/ck/tensor_operation/gpu/device/device_binary_elementwise_2d.hpp
...sor_operation/gpu/device/device_binary_elementwise_2d.hpp
+1
-1
No files found.
include/ck/tensor_operation/gpu/device/device_binary_elementwise_2d.hpp
View file @
d7112d37
...
...
@@ -42,7 +42,7 @@ struct DeviceBinaryElementwise_2D : public DeviceBinaryElementwise<ElementwiseFu
// pad
const
auto
m0
=
desc_m0
.
GetLength
(
I0
);
const
auto
pad
=
math
::
integer_least_multiple
(
m0
,
ScalarPerVector
)
-
m0
;
const
auto
pad
=
math
::
integer_least_multiple
(
m0
,
BlockTileSize
)
-
m0
;
const
auto
desc_m0_pad
=
transform_tensor_descriptor
(
desc_m0
,
make_tuple
(
make_right_pad_transform
(
m0
,
pad
)),
...
...
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