aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/IScheduler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/IScheduler.cpp')
-rw-r--r--src/runtime/IScheduler.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/runtime/IScheduler.cpp b/src/runtime/IScheduler.cpp
index 921e436559..6b961d7dfc 100644
--- a/src/runtime/IScheduler.cpp
+++ b/src/runtime/IScheduler.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016-2018 Arm Limited.
+ * Copyright (c) 2016-2020 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -41,6 +41,12 @@ CPUInfo &IScheduler::cpu_info()
return _cpu_info;
}
+void IScheduler::set_num_threads_with_affinity(unsigned int num_threads, BindFunc func)
+{
+ ARM_COMPUTE_UNUSED(num_threads, func);
+ ARM_COMPUTE_ERROR("Feature for affinity setting is not implemented");
+}
+
unsigned int IScheduler::num_threads_hint() const
{
return _num_threads_hint;