Home
last modified time | relevance | path

Searched refs:half_base (Results 1 – 1 of 1) sorted by relevance

/external/eigen/Eigen/src/Core/arch/CUDA/
DHalf.h68 struct half_base : public __half { struct
69 EIGEN_DEVICE_FUNC half_base() {} in half_base() function
70 EIGEN_DEVICE_FUNC half_base(const half_base& h) : __half(h) {} in half_base() argument
71 EIGEN_DEVICE_FUNC half_base(const __half& h) : __half(h) {} in half_base() function
77 struct half : public half_impl::half_base {
84 EIGEN_DEVICE_FUNC half(const __half& h) : half_impl::half_base(h) {} in half()
85 EIGEN_DEVICE_FUNC half(const half& h) : half_impl::half_base(h) {} in half()
88 : half_impl::half_base(half_impl::raw_uint16_to_half(b ? 0x3c00 : 0)) {} in half()
91 : half_impl::half_base(half_impl::float_to_half_rtne(static_cast<float>(val))) {} in half()
93 : half_impl::half_base(half_impl::float_to_half_rtne(f)) {} in half()