From c60cd0cdeab609c3cd2f375fd8c66f3e022f27d5 Mon Sep 17 00:00:00 2001 From: dmitrygo Date: Fri, 3 Jan 2025 13:33:42 +0000 Subject: [PATCH] fixed codestyle --- .../kernels/scaled_attn/mha_single_token.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/plugins/intel_cpu/src/nodes/kernels/scaled_attn/mha_single_token.cpp b/src/plugins/intel_cpu/src/nodes/kernels/scaled_attn/mha_single_token.cpp index 3fb98960228dc8..f42f15ce1e065a 100644 --- a/src/plugins/intel_cpu/src/nodes/kernels/scaled_attn/mha_single_token.cpp +++ b/src/plugins/intel_cpu/src/nodes/kernels/scaled_attn/mha_single_token.cpp @@ -69,8 +69,8 @@ void cvt_copy(TA* dst, TB* src, size_t n) { } #if defined(OPENVINO_ARCH_ARM64) -#if defined(__ARM_FEATURE_FP16_VECTOR_ARITHMETIC) -#if defined(HAVE_SVE) +# if defined(__ARM_FEATURE_FP16_VECTOR_ARITHMETIC) +# if defined(HAVE_SVE) template <> void cvt_copy(ov::float16* dst, ov::float16* src, size_t n) { size_t i = 0; @@ -87,7 +87,7 @@ void cvt_copy(ov::float16* dst, ov::float16* src, size_t n) { i += inc; } } -#else // NEON +# else // NEON template <> void cvt_copy(ov::float16* dst, ov::float16* src, size_t n) { size_t i = 0; @@ -99,10 +99,10 @@ void cvt_copy(ov::float16* dst, ov::float16* src, size_t n) { dst[i] = src[i]; } } -#endif // defined(HAVE_SVE) -#endif // defined(__ARM_FEATURE_FP16_VECTOR_ARITHMETIC) +# endif // defined(HAVE_SVE) +# endif // defined(__ARM_FEATURE_FP16_VECTOR_ARITHMETIC) -#if defined(HAVE_SVE) +# if defined(HAVE_SVE) template <> void cvt_copy(float* dst, float* src, size_t n) { size_t i = 0; @@ -120,7 +120,7 @@ void cvt_copy(float* dst, float* src, size_t n) { i += inc; } } -#else // NEON +# else // NEON template <> void cvt_copy(float* dst, float* src, size_t n) { size_t i = 0; @@ -132,8 +132,8 @@ void cvt_copy(float* dst, float* src, size_t n) { dst[i] = src[i]; } } -#endif // defined(HAVE_SVE) -#endif // defined(OPENVINO_ARCH_ARM64) +# endif // defined(HAVE_SVE) +#endif // defined(OPENVINO_ARCH_ARM64) template static void attn_acc_value(float* out, float weight, T* v, size_t S, float* scale, float* zp) {