/*============================================================================= Copyright (c) 2017 Paul Fultz II half.hpp Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ==============================================================================*/ #ifndef MIGRAPH_GUARD_RTGLIB_HALF_HPP #define MIGRAPH_GUARD_RTGLIB_HALF_HPP #include #include namespace migraph { inline namespace MIGRAPH_INLINE_NS { using half = half_float::half; namespace detail { template struct deduce { using type = T; }; template <> struct deduce { using type = half; }; } // namespace detail template using deduce = typename detail::deduce::type; } // namespace MIGRAPH_INLINE_NS } // namespace migraph #endif