Home
last modified time | relevance | path

Searched refs:half_to_float (Results 1 – 25 of 121) sorted by relevance

12345

/dports/graphics/openexr/openexr-3.1.4/src/lib/OpenEXRCore/
H A Dunpack.c26 out[0] = half_to_float (src[0]); in half_to_float4()
27 out[1] = half_to_float (src[1]); in half_to_float4()
28 out[2] = half_to_float (src[2]); in half_to_float4()
29 out[3] = half_to_float (src[3]); in half_to_float4()
65 out[4] = half_to_float (in[4]); in half_to_float_buffer()
66 out[5] = half_to_float (in[5]); in half_to_float_buffer()
67 out[6] = half_to_float (in[6]); in half_to_float_buffer()
71 out[4] = half_to_float (in[4]); in half_to_float_buffer()
72 out[5] = half_to_float (in[5]); in half_to_float_buffer()
76 out[4] = half_to_float (in[4]); in half_to_float_buffer()
[all …]
/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed/foundation/meta/tests/
H A Dtest_half.cpp52 const float expected_float = half_to_float(expected_half); in TEST_SUITE()
55 const float actual_float = half_to_float(actual_half); in TEST_SUITE()
70 const float expected_float = half_to_float(expected_half); in TEST_SUITE()
73 const float actual_float = half_to_float(actual_half); in TEST_SUITE()
88 const float expected_float = half_to_float(expected_half); in TEST_SUITE()
91 const float actual_float = half_to_float(actual_half); in TEST_SUITE()
109 const float as_float = half_to_float(as_half); in TEST_SUITE()
132 const float as_float = half_to_float(as_half); in TEST_SUITE()
/dports/x11-toolkits/gtk40/gtk-4.4.1/gsk/ngl/
H A Dfp16.c40 half_to_float (const guint16 x) in half_to_float() function
71 f[0] = half_to_float (h[0]); in half_to_float4_c()
72 f[1] = half_to_float (h[1]); in half_to_float4_c()
73 f[2] = half_to_float (h[2]); in half_to_float4_c()
74 f[3] = half_to_float (h[3]); in half_to_float4_c()
/dports/math/Imath/Imath-3.1.4/src/ImathTest/
H A Dhalf_c_main.c23 static const c_half_uif half_to_float[1 << 16] =
167 if (conv.i != half_to_float[i].i) in main()
187 half_to_float[i].f, in main()
188 half_to_float[i].i, in main()
203 conv = half_to_float[i]; in main()
/dports/graphics/blender/blender-2.91.0/intern/cycles/util/
H A Dutil_half.h120 ccl_device_inline float half_to_float(half h)
133 f.x = half_to_float(h.x);
134 f.y = half_to_float(h.y);
135 f.z = half_to_float(h.z);
136 f.w = half_to_float(h.w);
/dports/devel/vcglib/vcglib-2020.09/eigenlib/Eigen/src/Core/arch/CUDA/
H A DHalf.h65 EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC float half_to_float(__half h);
99 return static_cast<signed char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
102 return static_cast<unsigned char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
105 return static_cast<short>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
111 return static_cast<int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
114 return static_cast<unsigned int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
117 return static_cast<long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
123 return static_cast<long long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
126 return static_cast<unsigned long long>(half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
129 return half_impl::half_to_float(*this); in EIGEN_EXPLICIT_CAST()
[all …]
/dports/science/pcmsolver/pcmsolver-1.3.0/external/eigen3/include/eigen3/Eigen/src/Core/arch/CUDA/
H A DHalf.h65 EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC float half_to_float(__half h);
99 return static_cast<signed char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
102 return static_cast<unsigned char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
105 return static_cast<short>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
111 return static_cast<int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
114 return static_cast<unsigned int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
117 return static_cast<long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
123 return static_cast<long long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
126 return static_cast<unsigned long long>(half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
129 return half_impl::half_to_float(*this); in EIGEN_EXPLICIT_CAST()
[all …]
/dports/math/py-pystan/pystan-2.19.0.0/pystan/stan/lib/stan_math/lib/eigen_3.3.3/Eigen/src/Core/arch/CUDA/
H A DHalf.h65 EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC float half_to_float(__half h);
99 return static_cast<signed char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
102 return static_cast<unsigned char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
105 return static_cast<short>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
111 return static_cast<int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
114 return static_cast<unsigned int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
117 return static_cast<long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
123 return static_cast<long long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
126 return static_cast<unsigned long long>(half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
129 return half_impl::half_to_float(*this); in EIGEN_EXPLICIT_CAST()
[all …]
/dports/graphics/open3d/Open3D-0.2/src/External/Eigen/Eigen/src/Core/arch/CUDA/
H A DHalf.h65 EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC float half_to_float(__half h);
99 return static_cast<signed char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
102 return static_cast<unsigned char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
105 return static_cast<short>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
111 return static_cast<int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
114 return static_cast<unsigned int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
117 return static_cast<long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
123 return static_cast<long long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
126 return static_cast<unsigned long long>(half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
129 return half_impl::half_to_float(*this); in EIGEN_EXPLICIT_CAST()
[all …]
/dports/graphics/py-open3d-python/Open3D-0.2/src/External/Eigen/Eigen/src/Core/arch/CUDA/
H A DHalf.h65 EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC float half_to_float(__half h);
99 return static_cast<signed char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
102 return static_cast<unsigned char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
105 return static_cast<short>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
111 return static_cast<int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
114 return static_cast<unsigned int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
117 return static_cast<long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
123 return static_cast<long long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
126 return static_cast<unsigned long long>(half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
129 return half_impl::half_to_float(*this); in EIGEN_EXPLICIT_CAST()
[all …]
/dports/math/gismo/gismo-21.12.0/external/Eigen/src/Core/arch/CUDA/
H A DHalf.h65 EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC float half_to_float(__half h);
99 return static_cast<signed char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
102 return static_cast<unsigned char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
105 return static_cast<short>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
111 return static_cast<int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
114 return static_cast<unsigned int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
117 return static_cast<long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
123 return static_cast<long long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
126 return static_cast<unsigned long long>(half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
129 return half_impl::half_to_float(*this); in EIGEN_EXPLICIT_CAST()
[all …]
/dports/graphics/appleseed/appleseed-2.1.0-beta/src/thirdparty/bcd/ext/eigen/Eigen/src/Core/arch/CUDA/
H A DHalf.h65 EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC float half_to_float(__half h);
99 return static_cast<signed char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
102 return static_cast<unsigned char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
105 return static_cast<short>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
111 return static_cast<int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
114 return static_cast<unsigned int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
117 return static_cast<long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
123 return static_cast<long long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
126 return static_cast<unsigned long long>(half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
129 return half_impl::half_to_float(*this); in EIGEN_EXPLICIT_CAST()
[all …]
/dports/misc/openmvg/openMVG-2.0/src/third_party/eigen/Eigen/src/Core/arch/CUDA/
H A DHalf.h65 EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC float half_to_float(__half h);
99 return static_cast<signed char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
102 return static_cast<unsigned char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
105 return static_cast<short>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
111 return static_cast<int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
114 return static_cast<unsigned int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
117 return static_cast<long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
123 return static_cast<long long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
126 return static_cast<unsigned long long>(half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
129 return half_impl::half_to_float(*this); in EIGEN_EXPLICIT_CAST()
[all …]
/dports/math/vtk8/VTK-8.2.0/ThirdParty/eigen/vtkeigen/eigen/src/Core/arch/CUDA/
H A DHalf.h65 EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC float half_to_float(__half h);
99 return static_cast<signed char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
102 return static_cast<unsigned char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
105 return static_cast<short>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
111 return static_cast<int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
114 return static_cast<unsigned int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
117 return static_cast<long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
123 return static_cast<long long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
126 return static_cast<unsigned long long>(half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
129 return half_impl::half_to_float(*this); in EIGEN_EXPLICIT_CAST()
[all …]
/dports/science/InsightToolkit/ITK-5.0.1/Modules/ThirdParty/Eigen3/src/itkeigen/Eigen/src/Core/arch/CUDA/
H A DHalf.h66 EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC float half_to_float(__half_raw h);
106 return static_cast<signed char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
109 return static_cast<unsigned char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
112 return static_cast<short>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
118 return static_cast<int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
121 return static_cast<unsigned int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
124 return static_cast<long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
130 return static_cast<long long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
133 return static_cast<unsigned long long>(half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
136 return half_impl::half_to_float(*this); in EIGEN_EXPLICIT_CAST()
[all …]
/dports/math/vtk9/VTK-9.1.0/ThirdParty/eigen/vtkeigen/eigen/src/Core/arch/CUDA/
H A DHalf.h67 EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC float half_to_float(__half_raw h);
107 return static_cast<signed char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
110 return static_cast<unsigned char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
113 return static_cast<short>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
119 return static_cast<int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
122 return static_cast<unsigned int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
125 return static_cast<long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
131 return static_cast<long long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
134 return static_cast<unsigned long long>(half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
137 return half_impl::half_to_float(*this); in EIGEN_EXPLICIT_CAST()
[all …]
/dports/math/pdal/PDAL-2.3.0/vendor/eigen/Eigen/src/Core/arch/CUDA/
H A DHalf.h66 EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC float half_to_float(__half_raw h);
106 return static_cast<signed char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
109 return static_cast<unsigned char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
112 return static_cast<short>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
118 return static_cast<int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
121 return static_cast<unsigned int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
124 return static_cast<long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
130 return static_cast<long long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
133 return static_cast<unsigned long long>(half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
136 return half_impl::half_to_float(*this); in EIGEN_EXPLICIT_CAST()
[all …]
/dports/graphics/blender/blender-2.91.0/extern/Eigen3/Eigen/src/Core/arch/CUDA/
H A DHalf.h66 EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC float half_to_float(__half_raw h);
106 return static_cast<signed char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
109 return static_cast<unsigned char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
112 return static_cast<short>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
118 return static_cast<int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
121 return static_cast<unsigned int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
124 return static_cast<long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
130 return static_cast<long long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
133 return static_cast<unsigned long long>(half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
136 return half_impl::half_to_float(*this); in EIGEN_EXPLICIT_CAST()
[all …]
/dports/math/eigen3/eigen-3.3.9/Eigen/src/Core/arch/CUDA/
H A DHalf.h67 EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC float half_to_float(__half_raw h);
107 return static_cast<signed char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
110 return static_cast<unsigned char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
113 return static_cast<short>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
119 return static_cast<int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
122 return static_cast<unsigned int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
125 return static_cast<long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
131 return static_cast<long long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
134 return static_cast<unsigned long long>(half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
137 return half_impl::half_to_float(*this); in EIGEN_EXPLICIT_CAST()
[all …]
/dports/math/stanmath/math-4.2.0/lib/eigen_3.3.9/Eigen/src/Core/arch/CUDA/
H A DHalf.h67 EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC float half_to_float(__half_raw h);
107 return static_cast<signed char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
110 return static_cast<unsigned char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
113 return static_cast<short>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
119 return static_cast<int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
122 return static_cast<unsigned int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
125 return static_cast<long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
131 return static_cast<long long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
134 return static_cast<unsigned long long>(half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
137 return half_impl::half_to_float(*this); in EIGEN_EXPLICIT_CAST()
[all …]
/dports/math/py-cvxpy/cvxpy-1.1.17/cvxpy/cvxcore/include/Eigen/src/Core/arch/CUDA/
H A DHalf.h67 EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC float half_to_float(__half_raw h);
107 return static_cast<signed char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
110 return static_cast<unsigned char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
113 return static_cast<short>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
119 return static_cast<int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
122 return static_cast<unsigned int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
125 return static_cast<long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
131 return static_cast<long long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
134 return static_cast<unsigned long long>(half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
137 return half_impl::half_to_float(*this); in EIGEN_EXPLICIT_CAST()
[all …]
/dports/cad/gmsh/gmsh-4.9.2-source/contrib/eigen/Eigen/src/Core/arch/CUDA/
H A DHalf.h66 EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC float half_to_float(__half_raw h);
106 return static_cast<signed char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
109 return static_cast<unsigned char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
112 return static_cast<short>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
118 return static_cast<int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
121 return static_cast<unsigned int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
124 return static_cast<long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
130 return static_cast<long long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
133 return static_cast<unsigned long long>(half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
136 return half_impl::half_to_float(*this); in EIGEN_EXPLICIT_CAST()
[all …]
/dports/math/R-cran-RcppEigen/RcppEigen/inst/include/Eigen/src/Core/arch/CUDA/
H A DHalf.h67 EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC float half_to_float(__half_raw h);
107 return static_cast<signed char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
110 return static_cast<unsigned char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
113 return static_cast<short>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
119 return static_cast<int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
122 return static_cast<unsigned int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
125 return static_cast<long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
132 return static_cast<long long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
135 return static_cast<unsigned long long>(half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
139 return half_impl::half_to_float(*this); in EIGEN_EXPLICIT_CAST()
[all …]
/dports/science/getdp/getdp-3.4.0-source/contrib/eigen/Eigen/src/Core/arch/CUDA/
H A DHalf.h66 EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC float half_to_float(__half_raw h);
106 return static_cast<signed char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
109 return static_cast<unsigned char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
112 return static_cast<short>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
118 return static_cast<int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
121 return static_cast<unsigned int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
124 return static_cast<long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
130 return static_cast<long long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
133 return static_cast<unsigned long long>(half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
136 return half_impl::half_to_float(*this); in EIGEN_EXPLICIT_CAST()
[all …]
/dports/math/libsemigroups/libsemigroups-1.3.7/extern/eigen-3.3.7/Eigen/src/Core/arch/CUDA/
H A DHalf.h66 EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC float half_to_float(__half_raw h);
106 return static_cast<signed char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
109 return static_cast<unsigned char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
112 return static_cast<short>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
118 return static_cast<int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
121 return static_cast<unsigned int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
124 return static_cast<long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
130 return static_cast<long long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
133 return static_cast<unsigned long long>(half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
136 return half_impl::half_to_float(*this); in EIGEN_EXPLICIT_CAST()
[all …]

12345