Skip to content

Commit

Permalink
fixed codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-gorokhov committed Jan 3, 2025
1 parent 5c5c129 commit c60cd0c
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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 <typename T>
static void attn_acc_value(float* out, float weight, T* v, size_t S, float* scale, float* zp) {
Expand Down

0 comments on commit c60cd0c

Please sign in to comment.