aboutsummaryrefslogtreecommitdiff
path: root/src/backends/cl/workloads/ClGatherWorkload.cpp
diff options
context:
space:
mode:
authorKevin May <kevin.may@arm.com>2021-10-22 15:42:28 +0100
committerKevin May <kevin.may@arm.com>2021-11-01 09:46:40 +0000
commit9f6862de94e3d15ea5207a5747012f6c7eead358 (patch)
tree4b45cab325cd7eb36fd04a1cba7d0e7a3ec92dbb /src/backends/cl/workloads/ClGatherWorkload.cpp
parentb1c62f11881e0d528bea5b3664a8f36e4c03b508 (diff)
downloadarmnn-9f6862de94e3d15ea5207a5747012f6c7eead358.tar.gz
IVGCVSW-6440 Add profiling around CL workload configure calls
Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: I7626d5bd82e832d5be6913719a34d76fbd1dbed8
Diffstat (limited to 'src/backends/cl/workloads/ClGatherWorkload.cpp')
-rw-r--r--src/backends/cl/workloads/ClGatherWorkload.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/backends/cl/workloads/ClGatherWorkload.cpp b/src/backends/cl/workloads/ClGatherWorkload.cpp
index 7c8d1ab787..b2341b8f32 100644
--- a/src/backends/cl/workloads/ClGatherWorkload.cpp
+++ b/src/backends/cl/workloads/ClGatherWorkload.cpp
@@ -45,7 +45,10 @@ ClGatherWorkload::ClGatherWorkload(const GatherQueueDescriptor& descriptor,
int aclAxis = ComputeAclAxis(descriptor.m_Parameters.m_Axis, info.m_InputTensorInfos[0]);
- m_Layer.configure(clCompileContext, &input, &indices, &output, aclAxis);
+ {
+ ARMNN_SCOPED_PROFILING_EVENT(Compute::Undefined, "ClGatherWorkload_configure");
+ m_Layer.configure(clCompileContext, &input, &indices, &output, aclAxis);
+ }
};
void ClGatherWorkload::Execute() const