2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // See LICENSE file in the project root for full license information.
6 #include "ClFloorFloat32Workload.hpp"
7 #include "backends/ClTensorHandle.hpp"
12 ClFloorFloat32Workload::ClFloorFloat32Workload(const FloorQueueDescriptor& descriptor, const WorkloadInfo& info)
13 : FloatWorkload<FloorQueueDescriptor>(descriptor, info)
15 m_Data.ValidateInputsOutputs("ClFloorFloat32Workload", 1, 1);
17 arm_compute::ICLTensor& input = static_cast<IClTensorHandle*>(m_Data.m_Inputs[0])->GetTensor();
18 arm_compute::ICLTensor& output = static_cast<IClTensorHandle*>(m_Data.m_Outputs[0])->GetTensor();
20 m_Layer.configure(&input, &output);
23 void ClFloorFloat32Workload::Execute() const
25 ARMNN_SCOPED_PROFILING_EVENT_CL("ClFloorFloat32Workload_Execute");