Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:30:01

0001 //---------------------------------------------------------------------------//
0002 // Copyright (c) 2013 Kyle Lutz <kyle.r.lutz@gmail.com>
0003 //
0004 // Distributed under the Boost Software License, Version 1.0
0005 // See accompanying file LICENSE_1_0.txt or copy at
0006 // http://www.boost.org/LICENSE_1_0.txt
0007 //
0008 // See http://boostorg.github.com/compute for more information.
0009 //---------------------------------------------------------------------------//
0010 
0011 #ifndef BOOST_COMPUTE_FUNCTIONAL_INTEGER_HPP
0012 #define BOOST_COMPUTE_FUNCTIONAL_INTEGER_HPP
0013 
0014 #include <boost/compute/functional/detail/macros.hpp>
0015 
0016 namespace boost {
0017 namespace compute {
0018 
0019 BOOST_COMPUTE_DECLARE_BUILTIN_FUNCTION(abs, T (T), class T)
0020 BOOST_COMPUTE_DECLARE_BUILTIN_FUNCTION(abs_diff, T (T, T), class T)
0021 BOOST_COMPUTE_DECLARE_BUILTIN_FUNCTION(add_sat, T (T, T), class T)
0022 BOOST_COMPUTE_DECLARE_BUILTIN_FUNCTION(hadd, T (T, T), class T)
0023 BOOST_COMPUTE_DECLARE_BUILTIN_FUNCTION(rhadd, T (T, T), class T)
0024 BOOST_COMPUTE_DECLARE_BUILTIN_FUNCTION(max, T (T, T), class T)
0025 BOOST_COMPUTE_DECLARE_BUILTIN_FUNCTION(min, T (T, T), class T)
0026 
0027 } // end compute namespace
0028 } // end boost namespace
0029 
0030 #endif // BOOST_COMPUTE_FUNCTIONAL_INTEGER_HPP