diff --git a/src/plugins/intel_cpu/tests/functional/shared_tests_instances/snippets/matmul.cpp b/src/plugins/intel_cpu/tests/functional/shared_tests_instances/snippets/matmul.cpp index cfc542b9a08d53..81d65976818895 100644 --- a/src/plugins/intel_cpu/tests/functional/shared_tests_instances/snippets/matmul.cpp +++ b/src/plugins/intel_cpu/tests/functional/shared_tests_instances/snippets/matmul.cpp @@ -27,7 +27,7 @@ static inline std::vector> quantized_precisions() { static inline std::vector> precisions() { std::vector> prc = { -// {element::f32, element::f32}, + {element::f32, element::f32}, }; // Note: TPP doesn't support low precisions yet #ifndef SNIPPETS_LIBXSMM_TPP @@ -42,8 +42,13 @@ static inline std::vector> precisions() { } +size_t K = std::getenv("K") ? std::atoi(std::getenv("K")) : 2; +size_t N = std::getenv("N") ? std::atoi(std::getenv("N")) : 32; +size_t B1 = std::getenv("B1") ? std::atoi(std::getenv("B1")) : 1; +size_t B2 = std::getenv("B2") ? std::atoi(std::getenv("B2")) : 1; + std::vector> input_shapes{ - { {{}, {{2, 1, 2, 4}}}, {{}, {{2, 1, 4, 108}}} }, + { {{}, {{B1, 1, 1, K}}}, {{}, {{1, B2, K, N}}} }, /* { {{}, {{2, 1, 3, 5}}}, {{}, {{1, 3, 5, 3}}} }, { {{}, {{3, 1, 32, 14}}}, {{}, {{1, 3, 14, 37}}} }, diff --git a/src/tests/test_utils/common_test_utils/src/ov_tensor_utils.cpp b/src/tests/test_utils/common_test_utils/src/ov_tensor_utils.cpp index 133959fd9fdc6b..7cbf02eb4bf143 100644 --- a/src/tests/test_utils/common_test_utils/src/ov_tensor_utils.cpp +++ b/src/tests/test_utils/common_test_utils/src/ov_tensor_utils.cpp @@ -444,9 +444,9 @@ class Error { << " Diff: " << std::fabs(val.expected_value - val.actual_value) << " calculated_abs_threshold: " << val.threshold << " abs_threshold: " << abs_threshold << " rel_threshold: " << rel_threshold << "\n"; -#ifdef NDEBUG +// #ifdef NDEBUG break; -#endif +// #endif } throw std::runtime_error(msg); } else if (!less_or_equal(mvn_results, mvn_threshold)) {