[Snippets][CPU][ARM] Enable bitwise ops in snippets #38245
build_jenkins
@v-Golubev please take a look
Let's move BitwiseFunction into its own header/cpp alongside EltwiseFunction (e.g. a new subgraph_bitwise.hpp), and take the input shapes as a constructor parameter instead of hardcoding {2, 16}
Let's move bitwiseSnippetsCpuParams() and the three new *_Snippets instantiations below to instances/arm/eltwise.cpp instead of wrapping them in #if defined(OPENVINO_ARCH_ARM64) here
Let's better put this condition in dedicated is_supported_op lambda
build_jenkins
build_jenkins
moved
done
done
I'd like to understand why we have to handle ignoreCallback here. Do I understand correctly that BinaryElementwiseBitwise must be included to "unsupported" list regardless of the ignoreCallback value, whereas the rest "unsupported" nodes are included to the unsupported list only when ignoreCallback is false?
build_jenkins
Yes, bitwise ops still need to be rejected on non-ARM because their Snippets emitters are registered only
build_jenkins
@v-Golubev it seems jenkins part should be just restarted
It looks to me that is_unsupported lambda must be always checked (because the snippets would just fail if such op is tokenized), regardless of the ignoreCallback value. The ignoreCallback should be taken into account only for is_unsupported_by_common_tokenization. Do you think it makes sense?
v-Golubev
aobolensk
Details:
Enabled AArch64 Snippets ops: BitwiseAnd, BitwiseOr, BitwiseXor, and BitwiseNot
Tickets:
- N/A
AI Assistance:
- AI assistance used: yes
- Implementation is assisted and after that manually tested and reviewed