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.h67 struct half_base : public __half { struct
68 EIGEN_DEVICE_FUNC half_base() {} in half_base() argument
69 EIGEN_DEVICE_FUNC half_base(const half_base& h) : __half(h) {} in half_base() argument
70 EIGEN_DEVICE_FUNC half_base(const __half& h) : __half(h) {} in half_base() function
76 struct half : public half_impl::half_base {
83 EIGEN_DEVICE_FUNC half(const __half& h) : half_impl::half_base(h) {} in half()
84 EIGEN_DEVICE_FUNC half(const half& h) : half_impl::half_base(h) {} in half()
87 : half_impl::half_base(half_impl::raw_uint16_to_half(b ? 0x3c00 : 0)) {} in half()
90 : half_impl::half_base(half_impl::float_to_half_rtne(static_cast<float>(val))) {} in half()
92 : half_impl::half_base(half_impl::float_to_half_rtne(f)) {} in half()