24.08
ClBatchMatMulWorkload.hpp
Go to the documentation of this file.
1
//
2
// Copyright © 2022-2023 Arm Ltd and Contributors. All rights reserved.
3
// SPDX-License-Identifier: MIT
4
//
5
6
#pragma once
7
8
#include "
ClBaseWorkload.hpp
"
9
10
#include <arm_compute/runtime/CL/functions/CLMatMul.h>
11
12
namespace
armnn
13
{
14
arm_compute::Status
ClBatchMatMulValidate
(
const
TensorInfo& inputX,
15
const
TensorInfo& inputY,
16
const
TensorInfo& output,
17
const
BatchMatMulDescriptor& descriptor,
18
const
ActivationDescriptor* activationDescriptor);
19
20
class
ClBatchMatMulWorkload
:
public
ClBaseWorkload
<BatchMatMulQueueDescriptor>
21
{
22
public
:
23
ClBatchMatMulWorkload
(
const
BatchMatMulQueueDescriptor
& descriptor,
24
const
WorkloadInfo
&
info
,
25
const
arm_compute::CLCompileContext& clCompileContext);
26
virtual
void
Execute
()
const override
;
27
28
private
:
29
mutable
arm_compute::CLMatMul m_MatMulLayer;
30
};
31
}
//namespace armnn
armnn::BatchMatMulQueueDescriptor
Definition:
WorkloadData.hpp:753
armnn::ClBatchMatMulWorkload
Definition:
ClBatchMatMulWorkload.hpp:20
armnn::ClBaseWorkload
Definition:
ClBaseWorkload.hpp:13
armnn::ClBatchMatMulWorkload::Execute
virtual void Execute() const override
Definition:
ClBatchMatMulWorkload.cpp:109
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition:
WorkloadInfo.hpp:16
armnn::ClBatchMatMulValidate
arm_compute::Status ClBatchMatMulValidate(const TensorInfo &inputInfoX, const TensorInfo &inputInfoY, const TensorInfo &outputInfo, const BatchMatMulDescriptor &descriptor, const ActivationDescriptor *activationDescriptor)
Definition:
ClBatchMatMulWorkload.cpp:24
armnn::BoostLogSeverityMapping::info
@ info
armnn::ClBatchMatMulWorkload::ClBatchMatMulWorkload
ClBatchMatMulWorkload(const BatchMatMulQueueDescriptor &descriptor, const WorkloadInfo &info, const arm_compute::CLCompileContext &clCompileContext)
Definition:
ClBatchMatMulWorkload.cpp:57
armnn::Status
Status
Definition:
Types.hpp:42
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition:
01_00_quick_start.dox:6
ClBaseWorkload.hpp
src
backends
cl
workloads
ClBatchMatMulWorkload.hpp
Generated on Wed Aug 28 2024 14:31:50 for Arm NN by
1.8.17