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
cf9114fd
Commit
cf9114fd
authored
Jun 08, 2023
by
rocking
Browse files
Implement IsSupportedArgument
parent
e279b402
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
include/ck/tensor_operation/gpu/device/impl/device_put_element_impl.hpp
...sor_operation/gpu/device/impl/device_put_element_impl.hpp
+6
-2
No files found.
include/ck/tensor_operation/gpu/device/impl/device_put_element_impl.hpp
View file @
cf9114fd
...
...
@@ -121,8 +121,12 @@ struct DevicePutElementImpl
bool
IsSupportedArgument
(
const
BaseArgument
*
p_arg
)
override
{
const
Argument
*
pArg
=
dynamic_cast
<
const
Argument
*>
(
p_arg
);
// TODO
ignore
=
pArg
;
index_t
input_length
=
pArg
->
in_grid_desc_
.
GetTransforms
()[
I0
].
GetUpperLengths
()[
I0
];
if
(
input_length
%
InVectorSize
!=
0
)
{
return
false
;
}
return
true
;
}
...
...
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