Commit cf9114fd authored by rocking's avatar rocking
Browse files

Implement IsSupportedArgument

parent e279b402
...@@ -121,8 +121,12 @@ struct DevicePutElementImpl ...@@ -121,8 +121,12 @@ struct DevicePutElementImpl
bool IsSupportedArgument(const BaseArgument* p_arg) override bool IsSupportedArgument(const BaseArgument* p_arg) override
{ {
const Argument* pArg = dynamic_cast<const Argument*>(p_arg); const Argument* pArg = dynamic_cast<const Argument*>(p_arg);
// TODO index_t input_length = pArg->in_grid_desc_.GetTransforms()[I0].GetUpperLengths()[I0];
ignore = pArg;
if(input_length % InVectorSize != 0)
{
return false;
}
return true; return true;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment