]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/compute/functional/common.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / boost / compute / functional / common.hpp
1 //---------------------------------------------------------------------------//
2 // Copyright (c) 2013 Kyle Lutz <kyle.r.lutz@gmail.com>
3 //
4 // Distributed under the Boost Software License, Version 1.0
5 // See accompanying file LICENSE_1_0.txt or copy at
6 // http://www.boost.org/LICENSE_1_0.txt
7 //
8 // See http://boostorg.github.com/compute for more information.
9 //---------------------------------------------------------------------------//
10
11 #ifndef BOOST_COMPUTE_FUNCTIONAL_COMMON_HPP
12 #define BOOST_COMPUTE_FUNCTIONAL_COMMON_HPP
13
14 #include <boost/compute/functional/detail/macros.hpp>
15
16 namespace boost {
17 namespace compute {
18
19 BOOST_COMPUTE_DECLARE_BUILTIN_FUNCTION(clamp, T (T, T, T), class T)
20 BOOST_COMPUTE_DECLARE_BUILTIN_FUNCTION(degrees, T (T), class T)
21 BOOST_COMPUTE_DECLARE_BUILTIN_FUNCTION(radians, T (T), class T)
22 BOOST_COMPUTE_DECLARE_BUILTIN_FUNCTION(sign, T (T), class T)
23 BOOST_COMPUTE_DECLARE_BUILTIN_FUNCTION(smoothstep, T (T, T, T), class T)
24 BOOST_COMPUTE_DECLARE_BUILTIN_FUNCTION(step, T (T, T), class T)
25
26 } // end compute namespace
27 } // end boost namespace
28
29 #endif // BOOST_COMPUTE_FUNCTIONAL_COMMON_HPP