blob: 4cf73c89cc0fbbd57771bb48577e2a4018c6b87b (
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
31
32
|
//
// Copyright © 2017 Arm Ltd. All rights reserved.
// See LICENSE file in the project root for full license information.
//
#pragma once
#include "backends/ClWorkloadUtils.hpp"
#include "arm_compute/runtime/MemoryManagerOnDemand.h"
#include <memory>
namespace armnn
{
class ClConvolution2dFloat32Workload : public Float32Workload<Convolution2dQueueDescriptor>
{
public:
ClConvolution2dFloat32Workload(const Convolution2dQueueDescriptor& descriptor, const WorkloadInfo& info,
std::shared_ptr<arm_compute::MemoryManagerOnDemand>& memoryManager);
void Execute() const override;
private:
mutable arm_compute::CLConvolutionLayer m_ConvolutionLayer;
arm_compute::CLTensor m_KernelTensor;
arm_compute::CLTensor m_BiasTensor;
};
} //namespace armnn
|