diff options
author | Matthew Bentham <matthew.bentham@arm.com> | 2019-01-08 17:52:37 +0000 |
---|---|---|
committer | Matthew Bentham <matthew.bentham@arm.com> | 2019-01-08 18:00:12 +0000 |
commit | d80a7126b0abdd532a9f731559827a23f2e565e0 (patch) | |
tree | e04f6454e2353469dd9806b2a589c54b61dd777d /src/backends/neon/workloads/NeonDepthwiseConvolutionWorkload.cpp | |
parent | a1d3c6a49f35d7d3f11cc7e1b588d1d5401bdbf1 (diff) | |
download | armnn-d80a7126b0abdd532a9f731559827a23f2e565e0.tar.gz |
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
Diffstat (limited to 'src/backends/neon/workloads/NeonDepthwiseConvolutionWorkload.cpp')
-rw-r--r-- | src/backends/neon/workloads/NeonDepthwiseConvolutionWorkload.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/backends/neon/workloads/NeonDepthwiseConvolutionWorkload.cpp b/src/backends/neon/workloads/NeonDepthwiseConvolutionWorkload.cpp index be26359662..c915555dd7 100644 --- a/src/backends/neon/workloads/NeonDepthwiseConvolutionWorkload.cpp +++ b/src/backends/neon/workloads/NeonDepthwiseConvolutionWorkload.cpp @@ -5,11 +5,18 @@ #include "NeonDepthwiseConvolutionWorkload.hpp" +#include "NeonWorkloadUtils.hpp" + +#include <DataLayoutIndexed.hpp> #include <aclCommon/ArmComputeTensorUtils.hpp> #include <neon/NeonLayerSupport.hpp> #include <backendsCommon/CpuTensorHandle.hpp> #include <backendsCommon/WorkloadUtils.hpp> +#include <arm_compute/runtime/NEON/functions/NEDepthwiseConvolutionLayer.h> + +using namespace armnnUtils; + namespace armnn { |