From d80a7126b0abdd532a9f731559827a23f2e565e0 Mon Sep 17 00:00:00 2001 From: Matthew Bentham Date: Tue, 8 Jan 2019 17:52:37 +0000 Subject: Refactor: Don't include all ComputeLibrary function definitions everywhere. Just include the function definition that is specifically needed for each workload. Also, tighten up the scope where Compute Library functions are available. Knocks about 30seconds off a 4m30s single-threaded compile of the Neon workloads. Change-Id: Idac438f3bc77ff978295fbc9505cb42447def145 --- src/backends/neon/workloads/NeonPooling2dWorkload.hpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/backends/neon/workloads/NeonPooling2dWorkload.hpp') diff --git a/src/backends/neon/workloads/NeonPooling2dWorkload.hpp b/src/backends/neon/workloads/NeonPooling2dWorkload.hpp index b2379f7f53..b0e3aa8c59 100644 --- a/src/backends/neon/workloads/NeonPooling2dWorkload.hpp +++ b/src/backends/neon/workloads/NeonPooling2dWorkload.hpp @@ -5,7 +5,12 @@ #pragma once -#include +#include + +#include +#include + +#include namespace armnn { @@ -24,7 +29,7 @@ public: void Execute() const override; private: - mutable arm_compute::NEPoolingLayer m_PoolingLayer; + std::unique_ptr m_PoolingLayer; }; } //namespace armnn -- cgit v1.2.1