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
976815e5
Commit
976815e5
authored
Apr 28, 2022
by
rocking
Browse files
Prevent compile error when user pass rvalue, eg {3, 4}
parent
f919809d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
include/ck/tensor_operation/gpu/device/device_binary_elementwise.hpp
...tensor_operation/gpu/device/device_binary_elementwise.hpp
+4
-4
include/ck/tensor_operation/gpu/device/device_binary_elementwise_2d.hpp
...sor_operation/gpu/device/device_binary_elementwise_2d.hpp
+4
-4
No files found.
include/ck/tensor_operation/gpu/device/device_binary_elementwise.hpp
View file @
976815e5
...
...
@@ -15,10 +15,10 @@ struct DeviceBinaryElementwise : public BaseOperator
virtual
std
::
unique_ptr
<
BaseArgument
>
MakeArgumentPointer
(
const
void
*
p_a
,
const
void
*
p_b
,
void
*
p_c
,
const
std
::
vector
<
int
>
&
shape_a
,
const
std
::
vector
<
int
>
&
stride_a
,
const
std
::
vector
<
int
>
&
shape_b
,
const
std
::
vector
<
int
>
&
stride_b
,
std
::
vector
<
int
>
shape_a
,
std
::
vector
<
int
>
stride_a
,
std
::
vector
<
int
>
shape_b
,
std
::
vector
<
int
>
stride_b
,
ElementwiseFunctor
functor
,
index_t
threadPerBlock
)
=
0
;
...
...
include/ck/tensor_operation/gpu/device/device_binary_elementwise_2d.hpp
View file @
976815e5
...
...
@@ -163,10 +163,10 @@ struct DeviceBinaryElementwise_2D : public DeviceBinaryElementwise<ElementwiseFu
std
::
unique_ptr
<
BaseArgument
>
MakeArgumentPointer
(
const
void
*
p_a
,
const
void
*
p_b
,
void
*
p_c
,
const
std
::
vector
<
int
>
&
shape
,
const
std
::
vector
<
int
>
&
stride_a
,
const
std
::
vector
<
int
>
&
stride_b
,
const
std
::
vector
<
int
>
&
stride_c
,
std
::
vector
<
int
>
shape
,
std
::
vector
<
int
>
stride_a
,
std
::
vector
<
int
>
stride_b
,
std
::
vector
<
int
>
stride_c
,
ElementwiseFunctor
functor
,
index_t
threadPerBlock
)
override
{
...
...
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