/toolchain/binutils/binutils-2.27/binutils/testsuite/binutils-all/mips/ |
mips16-undecoded.s | 9 .half 0xf008, 0x0211 10 .half 0xf008, 0x0231 11 .half 0xf008, 0x0251 12 .half 0xf008, 0x0291 15 .half 0xf008, 0x0a11 16 .half 0xf008, 0x0a31 17 .half 0xf008, 0x0a51 18 .half 0xf008, 0x0a91 21 .half 0xf008, 0x1011 22 .half 0xf008, 0x103 [all...] |
/external/tensorflow/tensorflow/core/lib/bfloat16/ |
bfloat16.cc | 22 B16_DEVICE_FUNC bfloat16::operator Eigen::half() const { 23 return static_cast<Eigen::half>(float(*this));
|
/external/swiftshader/src/Common/ |
Half.hpp | 20 class half class in namespace:sw 23 half() = default; 24 explicit half(float f); 28 half &operator=(half h); 29 half &operator=(float f); 35 inline half shortAsHalf(short s) 39 half h; 56 void toRGB16F(half rgb[3]) const 61 rgb[0] = half(R * factor) [all...] |
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
rsdebug_24.rs | 25 // http://b/27526302 - globals of half type cannot be exported and fail compilation 26 half halfTest = (half) 1.5f; 27 half2 half2Test = {(half) 1.5f, (half) 2.5f}; 28 half3 half3Test = {(half) 1.5f, (half) 2.5f, (half) 3.5f}; 29 half4 half4Test = {(half) 0.f, (half) -0.f, (half) 1.f/0.f, (half) 0.f/0.f} [all...] |
/external/tensorflow/tensorflow/compiler/xla/tests/ |
half_test.cc | 45 std::function<half(half)> compute_func; 53 std::vector<half> x({half(1.4), half(-2.3), half(3.2), half(-4.1)}); 56 auto x_data = CreateR1Parameter<half>(x, /*parameter_number=*/0, "x", 59 std::function<half(half)> compute_func = GetParam().compute_func [all...] |
/external/eigen/Eigen/src/Core/arch/CUDA/ |
Half.h | 29 // type Eigen::half (inheriting from CUDA's __half struct) with 48 struct half; 76 struct half : public half_impl::half_base { struct in namespace:Eigen 81 EIGEN_DEVICE_FUNC half() {} function in struct:Eigen::half 83 EIGEN_DEVICE_FUNC half(const __half& h) : half_impl::half_base(h) {} function in struct:Eigen::half 84 EIGEN_DEVICE_FUNC half(const half& h) : half_impl::half_base(h) {} function in struct:Eigen::half 86 explicit EIGEN_DEVICE_FUNC half(bool b) function in struct:Eigen::half 89 explicit EIGEN_DEVICE_FUNC half(const T& val) function in struct:Eigen::half 91 explicit EIGEN_DEVICE_FUNC half(float f function in struct:Eigen::half [all...] |
/external/eigen/test/ |
half_float.cpp | 12 #include <Eigen/src/Core/arch/CUDA/Half.h> 14 // Make sure it's possible to forward declare Eigen::half 16 struct half; 19 using Eigen::half; 26 VERIFY_IS_EQUAL(half(1.0f).x, 0x3c00); 27 VERIFY_IS_EQUAL(half(0.5f).x, 0x3800); 28 VERIFY_IS_EQUAL(half(0.33333f).x, 0x3555); 29 VERIFY_IS_EQUAL(half(0.0f).x, 0x0000); 30 VERIFY_IS_EQUAL(half(-0.0f).x, 0x8000); 31 VERIFY_IS_EQUAL(half(65504.0f).x, 0x7bff) [all...] |
/external/eigen/unsupported/Eigen/src/SpecialFunctions/ |
SpecialFunctionsHalf.h | 15 template<> EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC Eigen::half lgamma(const Eigen::half& a) { 16 return Eigen::half(Eigen::numext::lgamma(static_cast<float>(a))); 18 template<> EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC Eigen::half digamma(const Eigen::half& a) { 19 return Eigen::half(Eigen::numext::digamma(static_cast<float>(a))); 21 template<> EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC Eigen::half zeta(const Eigen::half& x, const Eigen::half& q) { 22 return Eigen::half(Eigen::numext::zeta(static_cast<float>(x), static_cast<float>(q))) [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
cwise_op_gpu_inverse.cu.cc | 23 DEFINE_UNARY4(inverse, Eigen::half, float, double, int64); 24 DEFINE_SIMPLE_BINARY3(inverse_grad, Eigen::half, float, double);
|
cwise_op_gpu_rsqrt.cu.cc | 23 DEFINE_UNARY3(rsqrt, Eigen::half, float, double); 24 DEFINE_SIMPLE_BINARY3(rsqrt_grad, Eigen::half, float, double);
|
cwise_op_gpu_sigmoid.cu.cc | 23 DEFINE_UNARY3(sigmoid, Eigen::half, float, double); 24 DEFINE_SIMPLE_BINARY3(sigmoid_grad, Eigen::half, float, double);
|
cwise_op_gpu_sqrt.cu.cc | 23 DEFINE_UNARY3(sqrt, Eigen::half, float, double); 24 DEFINE_SIMPLE_BINARY3(sqrt_grad, Eigen::half, float, double);
|
cwise_op_gpu_tanh.cu.cc | 23 DEFINE_UNARY3(tanh, Eigen::half, float, double); 24 DEFINE_SIMPLE_BINARY3(tanh_grad, Eigen::half, float, double);
|
cwise_op_gpu_ceil.cu.cc | 22 DEFINE_UNARY3(ceil, Eigen::half, float, double);
|
cwise_op_gpu_cos.cu.cc | 22 DEFINE_UNARY3(cos, Eigen::half, float, double);
|
cwise_op_gpu_digamma.cu.cc | 22 DEFINE_UNARY3(digamma, Eigen::half, float, double);
|
cwise_op_gpu_erf.cu.cc | 22 DEFINE_UNARY3(erf, Eigen::half, float, double);
|
cwise_op_gpu_erfc.cu.cc | 22 DEFINE_UNARY3(erfc, Eigen::half, float, double);
|
cwise_op_gpu_expm1.cu.cc | 22 DEFINE_UNARY3(expm1, Eigen::half, float, double);
|
cwise_op_gpu_floor.cu.cc | 22 DEFINE_UNARY3(floor, Eigen::half, float, double);
|
cwise_op_gpu_isfinite.cu.cc | 22 DEFINE_UNARY3(isfinite, Eigen::half, float, double);
|
cwise_op_gpu_isinf.cu.cc | 22 DEFINE_UNARY3(isinf, Eigen::half, float, double);
|
cwise_op_gpu_isnan.cu.cc | 22 DEFINE_UNARY3(isnan, Eigen::half, float, double);
|
cwise_op_gpu_lgamma.cu.cc | 22 DEFINE_UNARY3(lgamma, Eigen::half, float, double);
|
cwise_op_gpu_log.cu.cc | 22 DEFINE_UNARY3(log, Eigen::half, float, double);
|