Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[CPU][Tests] Skip InputNoReorderEltwiseBF16 on platforms without BF16 support (#36389)

Arseniy Obolenskiyaf9c5e6f8609
diff --git a/src/plugins/intel_cpu/tests/functional/custom/subgraph_tests/src/common/input_noreorder_eltwise_bf16.cpp b/src/plugins/intel_cpu/tests/functional/custom/subgraph_tests/src/common/input_noreorder_eltwise_bf16.cpp
index 9139ea9f44b..425f6ab19ad 100644
--- a/src/plugins/intel_cpu/tests/functional/custom/subgraph_tests/src/common/input_noreorder_eltwise_bf16.cpp
+++ b/src/plugins/intel_cpu/tests/functional/custom/subgraph_tests/src/common/input_noreorder_eltwise_bf16.cpp
@@ -53,6 +53,10 @@ protected:
Output[BF16]
*/
TEST_F(InputNoReorderEltwiseBF16, smoke_CompareWithRefs) {
+ if (!ov::with_cpu_x86_bfloat16() && !ov::with_cpu_x86_avx512_core_amx_bf16()) {
+ GTEST_SKIP() << "Skipping test, platform doesn't support precision bf16";
+ }
+
run();
CheckNumberOfNodesWithType(compiledModel, "Reorder", 0);