Searched refs:SignificandWidth (Results 1 – 7 of 7) sorted by relevance
46 EXPECT_EQ(primitive_util::SignificandWidth(F32), 24); in TEST()47 EXPECT_EQ(primitive_util::SignificandWidth(BF16), 8); in TEST()
30 int SignificandWidth(PrimitiveType type) { in SignificandWidth() function51 int trailing_significand_field_width = SignificandWidth(type) - 1; in ExponentWidth()
34 int SignificandWidth(PrimitiveType type);
287 ? primitive_util::SignificandWidth(shape.element_type()) in HigherPrecisionElementType()
67 xla::primitive_util::SignificandWidth(src_type_) - in Compile()68 xla::primitive_util::SignificandWidth(dst_type_); in Compile()
479 int num_mantissa_bits = primitive_util::SignificandWidth(value_type) - 1; in ConvertRandomBitsToUniformFloatingPoint()
86 int src_mantissa_bits = primitive_util::SignificandWidth(src_ty) - 1; in EmitReducePrecisionIR()204 /*dest_mantissa_bits=*/primitive_util::SignificandWidth(BF16) - 1, in EmitF32ToBF16()