Skip to content

Commit

Permalink
ACLConvert currenlty not support blocked layout
Browse files Browse the repository at this point in the history
  • Loading branch information
liubo-intel committed Oct 23, 2024
1 parent 2f823d9 commit a4b7f35
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/plugins/intel_cpu/src/nodes/executors/acl/acl_convert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,12 @@ bool ACLConvertExecutorBuilder::isSupported(const ConvertParams& convertParams,
DEBUG_LOG("NECopy does not support source precision: ", convertParams.srcPrc.to_string());
return false;
}
auto srcDataLayout = getAclDataLayoutByMemoryDesc(srcDesc);
auto dstDataLayout = getAclDataLayoutByMemoryDesc(dstDesc);
if (srcDataLayout == DataLayout::UNKNOWN || dstDataLayout == DataLayout::UNKNOWN) {
DEBUG_LOG("NECopy does not support source or destination layout");
return false;
}
if ((convertParams.srcPrc == ov::element::i8 && !one_of(convertParams.dstPrc,
ov::element::i16,
ov::element::i32,
Expand Down

0 comments on commit a4b7f35

Please sign in to comment.