Home
last modified time | relevance | path

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

/frameworks/native/libs/math/include/math/
Dhalf.h58 struct fp16 { struct
60 explicit constexpr fp16() noexcept : bits(0) { } in fp16() argument
61 explicit constexpr fp16(uint16_t b) noexcept : bits(b) { } in fp16() function
98 static CONSTEXPR fp16 ftoh(float v) noexcept;
99 static CONSTEXPR float htof(fp16 v) noexcept;
100 fp16 mBits;
103 inline CONSTEXPR half::fp16 half::ftoh(float v) noexcept { in ftoh()
104 fp16 out; in ftoh()
131 inline CONSTEXPR float half::htof(half::fp16 in) noexcept { in htof()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dmath_fp16.rscript354 // Number of normal fp16 values:
360 // Number of positive, non-zero and normal fp16 values = 30 * 1024 = 30720
361 // Number of negative, non-zero and normal fp16 values = 30 * 1024 = 30720
/frameworks/rs/tests/java_api/RSTestForward/24.0.3/
DAndroid.mk82 $(my_rs_unit_tests_path)/fp16.rscript\
/frameworks/rs/tests/java_api/RSTestForward/25.0.2/
DAndroid.mk82 $(my_rs_unit_tests_path)/fp16.rscript\
/frameworks/ml/nn/tools/test_generator/test_harness/
DTestHarness.cpp172 [](_Float16 fp16) { return static_cast<float>(fp16); }); in expectMultinomialDistributionWithinTolerance() argument