aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/runtime/IScheduler.h
diff options
context:
space:
mode:
Diffstat (limited to 'arm_compute/runtime/IScheduler.h')
-rw-r--r--arm_compute/runtime/IScheduler.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/arm_compute/runtime/IScheduler.h b/arm_compute/runtime/IScheduler.h
index d3ba86a67b..417c62cc9c 100644
--- a/arm_compute/runtime/IScheduler.h
+++ b/arm_compute/runtime/IScheduler.h
@@ -127,9 +127,9 @@ public:
}
private:
- unsigned int _split_dimension;
- StrategyHint _strategy;
- int _threshold;
+ unsigned int _split_dimension{};
+ StrategyHint _strategy{};
+ int _threshold{};
};
/** Signature for the workloads to execute */
using Workload = std::function<void(const ThreadInfo &)>;
@@ -205,7 +205,6 @@ protected:
* @param[in] workloads Array of workloads to run
*/
virtual void run_workloads(std::vector<Workload> &workloads) = 0;
- CPUInfo _cpu_info;
/** Common scheduler logic to execute the given kernel
*
@@ -216,6 +215,8 @@ protected:
*/
void schedule_common(ICPPKernel *kernel, const Hints &hints, const Window &window, ITensorPack &tensors);
+ CPUInfo _cpu_info{};
+
private:
unsigned int _num_threads_hint = {};
};