aboutsummaryrefslogtreecommitdiff
path: root/src/backends/reference/workloads/Ceil.hpp
blob: 2e415b9c0a84d310128be119401759fe0cd74da6 (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 © 2023 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//

#pragma once

#include <iostream>

namespace armnn
{
template<typename T>
struct ceil
    {
        typedef T result_type;
        typedef T argument_type;

        T
        operator () (const T&  inputData) const
        {
            return std::ceil(inputData);
        }
    };

} //namespace armnn