Skip to content

Commit

Permalink
Revert "[ARM CPU] ACL TBB scheduler (openvinotoolkit#17445)" (openvin…
Browse files Browse the repository at this point in the history
…otoolkit#18821)

This reverts commit 510f578.
  • Loading branch information
allnes authored Jul 27, 2023
1 parent 37fb5d2 commit 1857c7a
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 84 deletions.
6 changes: 6 additions & 0 deletions src/plugins/intel_cpu/src/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,12 @@ void Config::readProperties(const std::map<std::string, std::string> &prop) {
streamExecutorConfig._streams_changed = true;
}

#if defined(OPENVINO_ARCH_ARM) || defined(OPENVINO_ARCH_ARM64)
// TODO: multi-stream execution has functional issues on ARM target
streamExecutorConfig._streams = 1;
streamExecutorConfig._streams_changed = true;
#endif

CPU_DEBUG_CAP_ENABLE(applyDebugCapsProperties());
updateProperties();
}
Expand Down
43 changes: 0 additions & 43 deletions src/plugins/intel_cpu/src/nodes/executors/acl/acl_ie_scheduler.cpp

This file was deleted.

28 changes: 0 additions & 28 deletions src/plugins/intel_cpu/src/nodes/executors/acl/acl_ie_scheduler.hpp

This file was deleted.

9 changes: 0 additions & 9 deletions src/plugins/intel_cpu/src/plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@
#include <cpu/x64/cpu_isa_traits.hpp>
#include <itt.h>

#if defined(OV_CPU_WITH_ACL)
#include "nodes/executors/acl/acl_ie_scheduler.hpp"
#include "arm_compute/runtime/CPP/CPPScheduler.h"
#endif

using namespace InferenceEngine;

#define IE_CPU_PLUGIN_THROW(...) IE_THROW(__VA_ARGS__) << "CPU plugin: "
Expand Down Expand Up @@ -147,10 +142,6 @@ Engine::Engine() :
specialSetup(new CPUSpecialSetup) {
_pluginName = "CPU";
extensionManager->AddExtension(std::make_shared<Extension>());
#if defined(OV_CPU_WITH_ACL)
acl_scheduler = std::make_unique<ACLScheduler>();
arm_compute::Scheduler::set(acl_scheduler);
#endif
}

Engine::~Engine() {
Expand Down
4 changes: 0 additions & 4 deletions src/plugins/intel_cpu/src/plugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,6 @@ class Engine : public InferenceEngine::IInferencePlugin {
const std::string deviceFullName;

std::shared_ptr<void> specialSetup;

#if defined(OV_CPU_WITH_ACL)
std::shared_ptr<arm_compute::IScheduler> acl_scheduler;
#endif
};

} // namespace intel_cpu
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,16 @@ std::vector<std::string> disabledTestPatterns() {
retVector.emplace_back(R"(.*HeteroSyntheticTest.*)");
retVector.emplace_back(R"(.*IEClassBasicTestP.*)");
#elif defined(OPENVINO_ARCH_ARM64) || defined(OPENVINO_ARCH_ARM)
{
// TODO: enable once streams / tput mode is supported
retVector.emplace_back(R"(OVClassConfigTestCPU.smoke_CpuExecNetworkCheck(Model|Core)StreamsHasHigherPriorityThanLatencyHint.*)");
retVector.emplace_back(R"(smoke_BehaviorTests/CorrectConfigCheck.canSetConfigAndCheckGetConfig.*CPU_THROUGHPUT_STREAMS=8.*)");
retVector.emplace_back(R"(smoke_BehaviorTests/CorrectConfigCheck.canSetConfigTwiceAndCheckGetConfig.*CPU_THROUGHPUT_STREAMS=8.*)");
retVector.emplace_back(R"(smoke_CPU_OVClassLoadNetworkAndCheckWithSecondaryPropertiesTest/OVClassLoadNetworkAndCheckSecondaryPropertiesTest.LoadNetworkAndCheckSecondaryPropertiesTest.*)");
retVector.emplace_back(R"(smoke_CPU_OVClassLoadNetworkAndCheckWithSecondaryPropertiesDoubleTest/OVClassLoadNetworkAndCheckSecondaryPropertiesTest.LoadNetworkAndCheckSecondaryPropertiesTest.*)");
retVector.emplace_back(R"(smoke_CPU_OVClassCompileModelAndCheckSecondaryPropertiesTest.*)");
retVector.emplace_back(R"(smoke_CPU_OVClassCompileModelAndCheckWithSecondaryPropertiesDoubleTest.*)");
}
// invalid test: checks u8 precision for runtime graph, while it should be f32
retVector.emplace_back(R"(smoke_NegativeQuantizedMatMulMultiplyFusion.*)");
// int8 specific
Expand Down

0 comments on commit 1857c7a

Please sign in to comment.