blob: f31c73bc60c0a7259e2b6c89779e77c57edb8fcb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
//
// Copyright © 2017 Arm Ltd. All rights reserved.
// See LICENSE file in the project root for full license information.
//
#include "ClDepthwiseConvolutionFloat32Workload.hpp"
#include "ClDepthwiseConvolutionHelper.hpp"
#include "backends/ClTensorHandle.hpp"
#include "backends/CpuTensorHandle.hpp"
namespace armnn
{
ClDepthwiseConvolutionFloat32Workload::ClDepthwiseConvolutionFloat32Workload(
const DepthwiseConvolution2dQueueDescriptor& descriptor,
const WorkloadInfo& info)
: Float32Workload<DepthwiseConvolution2dQueueDescriptor>(descriptor, info)
{
InitClDepthwiseConvolutionWorkload(*this);
}
void ClDepthwiseConvolutionFloat32Workload::Execute() const
{
ARMNN_SCOPED_PROFILING_EVENT(Compute::GpuAcc, "ClDepthwiseConvolutionFloat32Workload_Execute");
BOOST_ASSERT(m_pDepthwiseConvolutionLayer);
m_pDepthwiseConvolutionLayer->run();
}
} //namespace armnn
|