diff options
author | Kevin May <kevin.may@arm.com> | 2021-10-22 15:42:28 +0100 |
---|---|---|
committer | Kevin May <kevin.may@arm.com> | 2021-11-01 09:46:40 +0000 |
commit | 9f6862de94e3d15ea5207a5747012f6c7eead358 (patch) | |
tree | 4b45cab325cd7eb36fd04a1cba7d0e7a3ec92dbb /src/backends/cl/workloads/ClConvertFp32ToFp16Workload.cpp | |
parent | b1c62f11881e0d528bea5b3664a8f36e4c03b508 (diff) | |
download | armnn-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/ClConvertFp32ToFp16Workload.cpp')
-rw-r--r-- | src/backends/cl/workloads/ClConvertFp32ToFp16Workload.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/backends/cl/workloads/ClConvertFp32ToFp16Workload.cpp b/src/backends/cl/workloads/ClConvertFp32ToFp16Workload.cpp index 8e6b0cea67..9b38b22019 100644 --- a/src/backends/cl/workloads/ClConvertFp32ToFp16Workload.cpp +++ b/src/backends/cl/workloads/ClConvertFp32ToFp16Workload.cpp @@ -25,7 +25,10 @@ ClConvertFp32ToFp16Workload::ClConvertFp32ToFp16Workload( arm_compute::ICLTensor& input = static_cast<IClTensorHandle*>(this->m_Data.m_Inputs[0])->GetTensor(); arm_compute::ICLTensor& output = static_cast<IClTensorHandle*>(this->m_Data.m_Outputs[0])->GetTensor(); - m_Layer.configure(clCompileContext, &input, &output, g_AclConvertPolicy, 0); + { + ARMNN_SCOPED_PROFILING_EVENT(Compute::Undefined, "ClConvertFp32ToFp16Workload_configure"); + m_Layer.configure(clCompileContext, &input, &output, g_AclConvertPolicy, 0); + } } void ClConvertFp32ToFp16Workload::Execute() const |