Skip to content

Commit

Permalink
[Snippets][CPU] Fixed build on non-x64 platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
a-sidorova committed Dec 23, 2024
1 parent 2b536b7 commit b665659
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "snippets/lowered/loop_manager.hpp"
#include "snippets/utils/utils.hpp"

#ifdef OPENVINO_ARCH_X86_64
#ifndef OPENVINO_ARCH_ARM64
# include "transformations/snippets/x64/pass/lowered/brgemm_copy_b_loop_ports_adjuster.hpp"
# include "transformations/snippets/x64/pass/lowered/external_repacking_adjuster.hpp"
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#include "emitters/snippets/jit_snippets_call_args.hpp"

#ifdef OPENVINO_ARCH_X86_64
#ifndef OPENVINO_ARCH_ARM64
# include "emitters/snippets/x64/kernel_executors/brgemm_copy_b.hpp"
#endif

Expand All @@ -27,7 +27,7 @@ class CPURuntimeConfig : public ov::snippets::RuntimeConfig {
std::string to_string() const override;
#endif

#ifdef OPENVINO_ARCH_X86_64
#ifndef OPENVINO_ARCH_ARM64
struct RepackedInput {
RepackedInput() = default;
RepackedInput(CpuBlockedMemoryDescPtr desc_,
Expand All @@ -52,7 +52,7 @@ class CPURuntimeConfig : public ov::snippets::RuntimeConfig {
SEPARATE, // should be separathy from kernel executed
};
RepackingImplType repacking_impl_type = RepackingImplType::NONE;
#endif // OPENVINO_ARCH_X86_64
#endif // OPENVINO_ARCH_ARM64

std::vector<jit_snippets_call_args::loop_args_t> loop_args = {};
};
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_cpu/src/nodes/subgraph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -982,7 +982,7 @@ Subgraph::SubgraphExecutor::SubgraphExecutor(const std::shared_ptr<Subgraph::Sub
"Undefined buffer scratchpad size!");
m_internal_buffer_size = static_cast<size_t>(m_nthreads) * m_buffer_scratchpad_size;

#if defined(OPENVINO_ARCH_X86_64)
#ifdef OPENVINO_ARCH_X86_64
m_repacking_impl_type = snippet_config->repacking_impl_type;
m_repacked_inputs = snippet_config->repacked_inputs;

Expand Down

0 comments on commit b665659

Please sign in to comment.