Skip to content
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/code_style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ jobs:
- name: Create code style diff
run: cmake --build build --target clang_format_fix_all -j8

- name: Print code style diff
run: cmake --build build --target clang_format_check_all -j8

- name: suggester / clang-format
if: startsWith(github.event_name, 'pull_request')
uses: reviewdog/action-suggester@4747dbc9f9e37adba0943e681cc20db466642158 # v1.19.0
Expand Down
7 changes: 7 additions & 0 deletions src/plugins/intel_cpu/src/emitters/snippets/x64/utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ class jit_aux_gpr_holder {

~jit_aux_gpr_holder();


jit_aux_gpr_holder(const jit_aux_gpr_holder&) = delete;
jit_aux_gpr_holder& operator=(const jit_aux_gpr_holder&) = delete;

jit_aux_gpr_holder(jit_aux_gpr_holder&&) = delete;
jit_aux_gpr_holder& operator=(jit_aux_gpr_holder&&) = delete;

[[nodiscard]] const Xbyak::Reg64& get_reg() const {
return m_aux_gpr_idx;
}
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_cpu/src/graph_optimizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ void GraphOptimizer::FuseConvDeconvFCAndConvertOnWeights(Graph& graph) {
parent = transpose->getParentEdgeAt(0)->getParent();
}

const auto convert = parent;
const auto convert = std::move(parent);
if (!isSuitableConvert(convert)) {
continue;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ static primitive_desc createPrimitiveDesc(const dnnl::memory::desc& inputDesc,
const size_t highestPriority = prim_desc_w_priority.priority;
if (priorityId < highestPriority) {
auto desc_copy = dnnl::primitive_desc(DnnlExtensionUtils::clone_primitive_desc(desc.get(true)));
prim_desc_w_priority = {desc_copy, priorityId};
prim_desc_w_priority = {std::move(desc_copy), priorityId};
}
});

Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_cpu/src/nodes/interpolate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2509,7 +2509,7 @@ void Interpolate::prepareParams() {
}

if (canUseAclExecutor) {
interpAttrs.dataScales = scales5D;
interpAttrs.dataScales = std::move(scales5D);

std::vector<MemoryDescPtr> srcMemoryDescs;
for (size_t i = 0; i < getParentEdges().size(); i++) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ ov::intel_cpu::MLPFusionPass::MLPFusionPass() {

// Determine gate_up_type based on pattern matching
LLMMLPNode::GATE_UP_TYPE gate_up_type = LLMMLPNode::GATE_UP_TYPE::SEPARATE;
if (pattern_map.count(gate_up_proj_split)) {
if (pattern_map.find(gate_up_proj_split) != pattern_map.end()) {
auto mlp_gated_up_node = pattern_map.at(mlp_gated_up).get_node_shared_ptr();
auto input0 = mlp_gated_up_node->input_value(0);
auto input1 = mlp_gated_up_node->input_value(1);
Expand Down
Loading