aboutsummaryrefslogtreecommitdiff
path: root/src/backends/cl/workloads/ClBaseMergerWorkload.hpp
blob: f8ff6f93791d3a66eb6b08c7a1f225210fd63dae (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
//
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//

#pragma once

#include <backends/Workload.hpp>

#include <arm_compute/runtime/CL/CLFunctions.h>

namespace armnn
{

// Base class template providing an implementation of the Merger layer common to all data types.
template <armnn::DataType... DataTypes>
class ClBaseMergerWorkload : public TypedWorkload<MergerQueueDescriptor, DataTypes...>
{
public:
    using TypedWorkload<MergerQueueDescriptor, DataTypes...>::TypedWorkload;

     void Execute() const override
    {
        // With subtensors, merger is a no-op.
    }
};

} //namespace armnn