blob: c08dbf0cab8754f90fd1727dce0ff2b8e011c3c6 (
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
|
//
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#include "RefRsqrtFloat32Workload.hpp"
#include "RefWorkloadUtils.hpp"
#include "Rsqrt.hpp"
#include <Profiling.hpp>
namespace armnn
{
void RefRsqrtFloat32Workload::Execute() const
{
ARMNN_SCOPED_PROFILING_EVENT(Compute::CpuRef, "RefRsqrtFloat32Workload_Execute");
Rsqrt(GetInputTensorDataFloat(0, m_Data),
GetOutputTensorDataFloat(0, m_Data),
GetTensorInfo(m_Data.m_Inputs[0]));
}
} //namespace armnn
|