Commit cf9114fd authored by rocking's avatar rocking
Browse files

Implement IsSupportedArgument

parent e279b402
......@@ -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;
}
......
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