From 0f72618cf99e44cbe361e756ae6f07beae206df0 Mon Sep 17 00:00:00 2001 From: Xiuchuan Zhai Date: Tue, 8 Oct 2024 15:20:22 +0800 Subject: [PATCH] fix comments --- .../src/nodes/kernels/scaled_attn/common.hpp | 13 ------------- .../src/common/concat_multiple_query_sdp.cpp | 5 +++-- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/src/plugins/intel_cpu/src/nodes/kernels/scaled_attn/common.hpp b/src/plugins/intel_cpu/src/nodes/kernels/scaled_attn/common.hpp index 2ef3d543135f44..99de10c86c043a 100644 --- a/src/plugins/intel_cpu/src/nodes/kernels/scaled_attn/common.hpp +++ b/src/plugins/intel_cpu/src/nodes/kernels/scaled_attn/common.hpp @@ -215,19 +215,6 @@ static constexpr size_t vec_len_f32_neon = vec_len_neon / sizeof(float); return _mm256_maskstore_ps(addr, mask, v); } - inline void mm256_uni_storeu_tail_ps(ov::bfloat16 *addr, __m256 v, size_t count) { - assert("AVX2 version of bfloat16 tail store is just for compilation pass"); - ov::bfloat16 tmp_values[8]; - mm256_uni_storeu_ps(tmp_values, v); - std::memcpy(addr, tmp_values, count * sizeof(ov::bfloat16)); - } - - inline void mm256_uni_storeu_tail_ps(ov::float16 *addr, __m256 v, size_t count) { - ov::float16 tmp_values[8]; - mm256_uni_storeu_ps(tmp_values, v); - std::memcpy(addr, tmp_values, count * sizeof(ov::float16)); - } - inline void hsum(__m256& x) { __m256 y; // x: 0 1 2 3 4 5 6 7 y = _mm256_permute_ps(x, 0x39); // y: 1 2 3 0 5 6 7 4 diff --git a/src/plugins/intel_cpu/tests/functional/custom/subgraph_tests/src/common/concat_multiple_query_sdp.cpp b/src/plugins/intel_cpu/tests/functional/custom/subgraph_tests/src/common/concat_multiple_query_sdp.cpp index 49868e0b58fe37..74e918fbabf2b8 100644 --- a/src/plugins/intel_cpu/tests/functional/custom/subgraph_tests/src/common/concat_multiple_query_sdp.cpp +++ b/src/plugins/intel_cpu/tests/functional/custom/subgraph_tests/src/common/concat_multiple_query_sdp.cpp @@ -56,6 +56,7 @@ class ConcatMultiQuerySDPTest : public testing::WithParamInterface& inputShapes = inputShapeAndOrders.first; std::vector& transposeOrder = inputShapeAndOrders.second; @@ -73,8 +74,8 @@ class ConcatMultiQuerySDPTest : public testing::WithParamInterface