Skip to content

Commit 9cef4e0

Browse files
committed
fmt & tidy
1 parent 6ce8366 commit 9cef4e0

File tree

7 files changed

+10
-9
lines changed

7 files changed

+10
-9
lines changed

src/plugins/intel_cpu/src/emitters/snippets/aarch64/utils.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ inline static std::vector<Xbyak_aarch64::XReg> transform_idxs_to_regs(const std:
2626
return regs;
2727
}
2828

29-
3029
/**
3130
* @brief Find the available register from the pool excepting: abi_param1, abi_param2, SP and `used_gpr_idxs`
3231
* @param used_gpr_idxs current used gpr register indexes

src/plugins/intel_cpu/src/emitters/snippets/utils/utils.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,17 @@
44

55
#include "utils.hpp"
66

7-
#include <algorithm>
87
#include <cstddef>
8+
#include <memory>
99

10+
#include "emitters/utils.hpp"
1011
#include "openvino/core/except.hpp"
12+
#include "openvino/core/type.hpp"
1113
#include "snippets/lowered/expression_port.hpp"
1214
#include "snippets/lowered/expressions/buffer_expression.hpp"
1315
#include "snippets/op/loop.hpp"
1416
#include "snippets/op/memory_access.hpp"
1517
#include "snippets/utils/utils.hpp"
16-
#include "emitters/utils.hpp"
1718

1819
#define IMPLICATION(cause, effect) (!(cause) || !!(effect))
1920

src/plugins/intel_cpu/src/emitters/snippets/utils/utils.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#pragma once
66

77
#include <cstddef>
8+
89
#include "snippets/lowered/expression_port.hpp"
910

1011
namespace ov::intel_cpu::emitters::snippets::utils {

src/plugins/intel_cpu/src/emitters/snippets/x64/jit_brgemm_copy_b_emitter.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
#include "emitters/plugin/x64/jit_emitter.hpp"
1717
#include "emitters/plugin/x64/utils.hpp"
1818
#include "emitters/snippets/jit_snippets_call_args.hpp"
19+
#include "emitters/snippets/utils/utils.hpp"
1920
#include "emitters/snippets/x64/jit_binary_call_emitter.hpp"
2021
#include "emitters/snippets/x64/kernel_executors/brgemm_copy_b.hpp"
2122
#include "emitters/snippets/x64/utils.hpp"
22-
#include "emitters/snippets/utils/utils.hpp"
2323
#include "emitters/utils.hpp"
2424
#include "openvino/core/type.hpp"
2525
#include "snippets/kernel_executor_table.hpp"
@@ -62,7 +62,8 @@ jit_brgemm_copy_b_emitter::jit_brgemm_copy_b_emitter(jit_generator* h,
6262
ov::intel_cpu::emitters::snippets::utils::get_buffer_cluster_id(expr->get_output_port(0))};
6363
if (m_with_comp) {
6464
m_memory_offsets.push_back(brgemm_repack->get_offset_compensations());
65-
m_buffer_ids.push_back(ov::intel_cpu::emitters::snippets::utils::get_buffer_cluster_id(expr->get_output_port(1)));
65+
m_buffer_ids.push_back(
66+
ov::intel_cpu::emitters::snippets::utils::get_buffer_cluster_id(expr->get_output_port(1)));
6667
}
6768
}
6869

src/plugins/intel_cpu/src/emitters/snippets/x64/jit_brgemm_emitter.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
#include "emitters/plugin/x64/jit_emitter.hpp"
2020
#include "emitters/plugin/x64/utils.hpp"
2121
#include "emitters/snippets/jit_snippets_call_args.hpp"
22+
#include "emitters/snippets/utils/utils.hpp"
2223
#include "emitters/snippets/x64/jit_binary_call_emitter.hpp"
2324
#include "emitters/snippets/x64/kernel_executors/brgemm.hpp"
2425
#include "emitters/snippets/x64/kernel_executors/brgemm_amx.hpp"
2526
#include "emitters/snippets/x64/kernel_executors/brgemm_base.hpp"
26-
#include "emitters/snippets/utils/utils.hpp"
2727
#include "emitters/utils.hpp"
2828
#include "openvino/core/except.hpp"
2929
#include "openvino/core/node.hpp"
@@ -77,7 +77,8 @@ jit_brgemm_emitter::jit_brgemm_emitter(jit_generator* h,
7777
m_with_scratchpad = brgemm_config.with_scratchpad();
7878
if (m_with_scratchpad) {
7979
m_memory_offsets.push_back(brgemm_node->get_offset_scratch());
80-
m_buffer_ids.push_back(ov::intel_cpu::emitters::snippets::utils::get_buffer_cluster_id(expr->get_input_port(2)));
80+
m_buffer_ids.push_back(
81+
ov::intel_cpu::emitters::snippets::utils::get_buffer_cluster_id(expr->get_input_port(2)));
8182
}
8283
m_gemm_inputs_count = brgemm_node->get_gemm_inputs_count();
8384
}

src/plugins/intel_cpu/src/emitters/snippets/x64/utils.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ using namespace dnnl::impl::cpu::x64;
3030

3131
namespace ov::intel_cpu::utils {
3232

33-
3433
Xbyak::Reg64 get_aux_gpr(const std::vector<size_t>& used_gpr_idxs) {
3534
// RSP - stack pointer should be preserved, abi_param1 and abi_param2 - runtime parameter register in the kernel
3635
static std::unordered_set<size_t> blacklist_gpr_idxs = {Xbyak::Operand::RSP,

src/plugins/intel_cpu/src/emitters/snippets/x64/utils.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ inline static std::vector<Xbyak::Reg64> transform_idxs_to_regs(const std::vector
2525
return regs;
2626
}
2727

28-
2928
/**
3029
* @brief Find the available register from the pool excepting: abi_param1, abi_param2, RSP and `used_gpr_idxs`
3130
* @param used_gpr_idxs current used gpr register indexes

0 commit comments

Comments
 (0)