diff options
author | Nattapat Chaimanowong <nattapat.chaimanowong@arm.com> | 2018-10-10 14:51:27 +0100 |
---|---|---|
committer | Matthew Bentham <matthew.bentham@arm.com> | 2018-10-22 16:57:53 +0100 |
commit | 55b1cda7d242ceb22963fd40370c2e6dbbb074ba (patch) | |
tree | 5005cb3411de2d2a3b10eeb785ca9da4b39f2a87 /src/backends/cl/workloads/ClConstantWorkload.hpp | |
parent | f1153cd864805ad2ed1197a9667e333dc38b8873 (diff) | |
download | armnn-55b1cda7d242ceb22963fd40370c2e6dbbb074ba.tar.gz |
IVGCVSW-1951 Remove type templating from ClConstantWorkload
Change-Id: Ib2c9fe56c59aedabeff899a81a0afe260bd57c9f
Diffstat (limited to 'src/backends/cl/workloads/ClConstantWorkload.hpp')
-rw-r--r-- | src/backends/cl/workloads/ClConstantWorkload.hpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/backends/cl/workloads/ClConstantWorkload.hpp b/src/backends/cl/workloads/ClConstantWorkload.hpp new file mode 100644 index 0000000000..ccdbf069fd --- /dev/null +++ b/src/backends/cl/workloads/ClConstantWorkload.hpp @@ -0,0 +1,25 @@ +// +// 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 +{ +class ClConstantWorkload : public BaseWorkload<ConstantQueueDescriptor> +{ +public: + ClConstantWorkload(const ConstantQueueDescriptor& descriptor, const WorkloadInfo& info); + + void Execute() const override; + +private: + mutable bool m_RanOnce; +}; + +} //namespace armnn |