Home
last modified time | relevance | path

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

/external/FP16/test/
Dalt-to-fp32x2-psimd.cc26 EXPECT_EQ(fp16_alt_to_fp32_bits(fp16[0]), fp32.lo[0]) << in TEST()
30 "F32 = 0x" << std::setw(8) << fp16_alt_to_fp32_bits(fp16[0]); in TEST()
31 EXPECT_EQ(fp16_alt_to_fp32_bits(fp16[1]), fp32.lo[1]) << in TEST()
35 "F32 = 0x" << std::setw(8) << fp16_alt_to_fp32_bits(fp16[1]); in TEST()
36 EXPECT_EQ(fp16_alt_to_fp32_bits(fp16[2]), fp32.lo[2]) << in TEST()
40 "F32 = 0x" << std::setw(8) << fp16_alt_to_fp32_bits(fp16[2]); in TEST()
41 EXPECT_EQ(fp16_alt_to_fp32_bits(fp16[3]), fp32.lo[3]) << in TEST()
45 "F32 = 0x" << std::setw(8) << fp16_alt_to_fp32_bits(fp16[3]); in TEST()
46 EXPECT_EQ(fp16_alt_to_fp32_bits(fp16[4]), fp32.hi[0]) << in TEST()
50 "F32 = 0x" << std::setw(8) << fp16_alt_to_fp32_bits(fp16[4]); in TEST()
[all …]
Dalt-to-fp32-bits.cc36 EXPECT_EQ(min_po2_f32, fp16_alt_to_fp32_bits(min_po2_f16)) << in TEST()
39 "F32(F16) = 0x" << std::setw(8) << fp16_alt_to_fp32_bits(min_po2_f16) << ", " << in TEST()
42 EXPECT_EQ(eighths_f32, fp16_alt_to_fp32_bits(eighths_f16)) << in TEST()
45 "F32(F16) = 0x" << std::setw(8) << fp16_alt_to_fp32_bits(eighths_f16) << ", " << in TEST()
48 EXPECT_EQ(quarter_f32, fp16_alt_to_fp32_bits(quarter_f16)) << in TEST()
51 "F32(F16) = 0x" << std::setw(8) << fp16_alt_to_fp32_bits(quarter_f16) << ", " << in TEST()
54 EXPECT_EQ(half_f32, fp16_alt_to_fp32_bits(half_f16)) << in TEST()
57 "F32(F16) = 0x" << std::setw(8) << fp16_alt_to_fp32_bits(half_f16) << ", " << in TEST()
60 EXPECT_EQ(one_f32, fp16_alt_to_fp32_bits(one_f16)) << in TEST()
63 "F32(F16) = 0x" << std::setw(8) << fp16_alt_to_fp32_bits(one_f16) << ", " << in TEST()
[all …]
Dalt-to-fp32-psimd.cc21 EXPECT_EQ(fp16_alt_to_fp32_bits(fp16[0]), fp32[0]) << in TEST()
25 "F32 = 0x" << std::setw(8) << fp16_alt_to_fp32_bits(fp16[0]); in TEST()
26 EXPECT_EQ(fp16_alt_to_fp32_bits(fp16[1]), fp32[1]) << in TEST()
30 "F32 = 0x" << std::setw(8) << fp16_alt_to_fp32_bits(fp16[1]); in TEST()
31 EXPECT_EQ(fp16_alt_to_fp32_bits(fp16[2]), fp32[2]) << in TEST()
35 "F32 = 0x" << std::setw(8) << fp16_alt_to_fp32_bits(fp16[2]); in TEST()
36 EXPECT_EQ(fp16_alt_to_fp32_bits(fp16[3]), fp32[3]) << in TEST()
40 "F32 = 0x" << std::setw(8) << fp16_alt_to_fp32_bits(fp16[3]); in TEST()
57 EXPECT_EQ(fp16_alt_to_fp32_bits(fp16[0]), fp32[0]) << in TEST()
61 "F32 = 0x" << std::setw(8) << fp16_alt_to_fp32_bits(fp16[0]); in TEST()
[all …]
/external/FP16/test/peachpy/
Dalt-xmm-to-fp32-ymm-avx2.cc24 EXPECT_EQ(fp16_alt_to_fp32_bits(fp16[i]), fp32[i]) << in TEST()
28 "F32 = 0x" << std::setw(8) << fp16_alt_to_fp32_bits(fp16[i]) << in TEST()
47 EXPECT_EQ(fp16_alt_to_fp32_bits(fp16[i]), fp32[i]) << in TEST()
51 "F32 = 0x" << std::setw(8) << fp16_alt_to_fp32_bits(fp16[i]) << in TEST()
68 EXPECT_EQ(fp16_alt_to_fp32_bits(fp16[i]), fp32[i]) << in TEST()
72 "F32 = 0x" << std::setw(8) << fp16_alt_to_fp32_bits(fp16[i]) << in TEST()
88 EXPECT_EQ(fp16_alt_to_fp32_bits(fp16[i]), fp32[i]) << in TEST()
92 "F32 = 0x" << std::setw(8) << fp16_alt_to_fp32_bits(fp16[i]) << in TEST()
Dalt-xmm-to-fp32-xmm-avx.cc24 EXPECT_EQ(fp16_alt_to_fp32_bits(fp16[i]), fp32[i]) << in TEST()
28 "F32 = 0x" << std::setw(8) << fp16_alt_to_fp32_bits(fp16[i]) << in TEST()
47 EXPECT_EQ(fp16_alt_to_fp32_bits(fp16[i]), fp32[i]) << in TEST()
51 "F32 = 0x" << std::setw(8) << fp16_alt_to_fp32_bits(fp16[i]) << in TEST()
68 EXPECT_EQ(fp16_alt_to_fp32_bits(fp16[i]), fp32[i]) << in TEST()
72 "F32 = 0x" << std::setw(8) << fp16_alt_to_fp32_bits(fp16[i]) << in TEST()
88 EXPECT_EQ(fp16_alt_to_fp32_bits(fp16[i]), fp32[i]) << in TEST()
92 "F32 = 0x" << std::setw(8) << fp16_alt_to_fp32_bits(fp16[i]) << in TEST()
/external/FP16/bench/
Dalt-element.cc31 static void fp16_alt_to_fp32_bits(benchmark::State& state) { in fp16_alt_to_fp32_bits() function
34 const uint32_t fp32 = fp16_alt_to_fp32_bits(fp16); in fp16_alt_to_fp32_bits()
40 BENCHMARK(fp16_alt_to_fp32_bits);
Dfrom-alt-array.cc19 static void fp16_alt_to_fp32_bits(benchmark::State& state) { in fp16_alt_to_fp32_bits() function
35 output[i] = fp16_alt_to_fp32_bits(input[i]); in fp16_alt_to_fp32_bits()
42 BENCHMARK(fp16_alt_to_fp32_bits)->RangeMultiplier(2)->Range(1<<10, 64<<20);
/external/FP16/include/fp16/
Dfp16.h255 static inline uint32_t fp16_alt_to_fp32_bits(uint16_t h) { in fp16_alt_to_fp32_bits() function