Searched defs:exponent_bits (Results 1 - 23 of 23) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/
H A Dreduce_precision_insertion.h36 // The exponent_bits and mantissa_bits arguments specify the parameters of
41 const int exponent_bits, const int mantissa_bits,
44 : exponent_bits_(exponent_bits),
54 : exponent_bits_(reduce_precision_options.exponent_bits()),
76 const int exponent_bits, const int mantissa_bits,
135 instruction->exponent_bits() <= exponent_bits_ &&
40 ReducePrecisionInsertion( const int exponent_bits, const int mantissa_bits, const HloReducePrecisionOptions::Location location, const InstructionFilterFunction& instruction_filter_function) argument
H A Delemental_ir_emitter.cc55 llvm::Value* EmitReducePrecisionFloat(llvm::Value* x, int64 exponent_bits, argument
91 if (exponent_bits < 8) {
109 const uint32_t reduced_exponent_bias = (1 << (exponent_bits - 1)) - 1;
167 /*exponent_bits=*/primitive_util::kBFloat16ExponentBits,
1001 return EmitReducePrecisionFloat(x, /*exponent_bits=*/hlo->exponent_bits(),
H A Dhlo_instruction.h280 // precision, and exponent_bits and mantissa_bits describe the precision to
283 const Shape& shape, HloInstruction* operand, const int exponent_bits,
1042 int32 exponent_bits() const { function in class:xla::HloInstruction
H A Dshape_inference.cc503 const Shape& operand_shape, const int exponent_bits,
511 if (exponent_bits < 1) {
515 return InvalidArgument("expected exponent_bits >= 1; got %d",
516 exponent_bits);
502 InferReducePrecisionShape( const Shape& operand_shape, const int exponent_bits, const int mantissa_bits) argument
H A Duser_computation.cc1101 operand->output_shape(), reduce_precision_request.exponent_bits(),
3478 auto exponent_bits = reduce_precision_request.exponent_bits(); local
3481 request.output_shape(), operand, exponent_bits, mantissa_bits));
H A Dhlo_instruction.cc131 instruction->exponent_bits_ = proto.exponent_bits();
379 const int exponent_bits,
384 instruction->exponent_bits_ = exponent_bits;
1766 return exponent_bits() == other.exponent_bits() &&
2288 extra.push_back(StrCat("exponent_bits=", exponent_bits_));
377 CreateReducePrecision(const Shape& shape, HloInstruction* operand, const int exponent_bits, const int mantissa_bits) argument
/external/tensorflow/tensorflow/compiler/xla/tests/
H A Dreduce_precision_test.cc209 int exponent_bits = exponent_sizes[index]; local
239 builder.ReducePrecision(a, exponent_bits, mantissa_bits);
/external/skia/src/utils/
H A DSkFloatUtils.h93 Bits exponent_bits() const { return kExponentBitMask & fU.bits; } function in class:SkFloatingPoint
103 return (exponent_bits() == kExponentBitMask) && (fraction_bits() != 0);
/external/skqp/src/utils/
H A DSkFloatUtils.h93 Bits exponent_bits() const { return kExponentBitMask & fU.bits; } function in class:SkFloatingPoint
103 return (exponent_bits() == kExponentBitMask) && (fraction_bits() != 0);
/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_format_float.c54 * @param exponent_bits the number of exponent bits
76 unsigned exponent_bits,
96 ((1 << exponent_bits) - 1) << 23);
131 ((1 << (exponent_bits - 1)) - 1) << 23);
137 (((1 << exponent_bits) - 2) << 23) |
198 unsigned maskbits = (1 << (mantissa_bits + exponent_bits)) - 1;
212 shift = lp_build_const_int_vec(gallivm, i32_type, 8 - exponent_bits);
273 * @param exponent_bits the number of exponent bits
285 unsigned exponent_bits,
309 ((1 << (mantissa_bits + exponent_bits))
72 lp_build_float_to_smallfloat(struct gallivm_state *gallivm, struct lp_type i32_type, LLVMValueRef src, unsigned mantissa_bits, unsigned exponent_bits, unsigned mantissa_start, boolean has_sign) argument
281 lp_build_smallfloat_to_float(struct gallivm_state *gallivm, struct lp_type f32_type, LLVMValueRef src, unsigned mantissa_bits, unsigned exponent_bits, unsigned mantissa_start, boolean has_sign) argument
[all...]
/external/protobuf/gtest/include/gtest/internal/
H A Dgtest-internal.h317 // sign_bit exponent_bits fraction_bits
405 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } function in class:testing::internal::FloatingPoint
417 return (exponent_bits() == kExponentBitMask) && (fraction_bits() != 0);
/external/google-breakpad/src/testing/gtest/include/gtest/internal/
H A Dgtest-internal.h301 // sign_bit exponent_bits fraction_bits
389 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } function in class:testing::internal::FloatingPoint
401 return (exponent_bits() == kExponentBitMask) && (fraction_bits() != 0);
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/
H A Dgtest-internal.h246 // sign_bit exponent_bits fraction_bits
337 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } function in class:testing::internal::FloatingPoint
349 return (exponent_bits() == kExponentBitMask) && (fraction_bits() != 0);
/external/llvm/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-internal.h330 // sign_bit exponent_bits fraction_bits
418 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } function in class:testing::internal::FloatingPoint
430 return (exponent_bits() == kExponentBitMask) && (fraction_bits() != 0);
/external/mesa3d/src/gtest/include/gtest/internal/
H A Dgtest-internal.h216 // sign_bit exponent_bits fraction_bits
307 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } function in class:testing::internal::FloatingPoint
319 return (exponent_bits() == kExponentBitMask) && (fraction_bits() != 0);
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-internal.h321 // sign_bit exponent_bits fraction_bits
409 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } function in class:testing::internal::FloatingPoint
421 return (exponent_bits() == kExponentBitMask) && (fraction_bits() != 0);
/external/v8/testing/gtest/include/gtest/internal/
H A Dgtest-internal.h246 // sign_bit exponent_bits fraction_bits
337 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } function in class:testing::internal::FloatingPoint
349 return (exponent_bits() == kExponentBitMask) && (fraction_bits() != 0);
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/internal/
H A Dgtest-internal.h216 // sign_bit exponent_bits fraction_bits
307 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } function in class:testing::internal::FloatingPoint
319 return (exponent_bits() == kExponentBitMask) && (fraction_bits() != 0);
/external/googletest/googletest/include/gtest/internal/
H A Dgtest-internal.h246 // sign_bit exponent_bits fraction_bits
337 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } function in class:testing::internal::FloatingPoint
349 return (exponent_bits() == kExponentBitMask) && (fraction_bits() != 0);
/external/tensorflow/tensorflow/compiler/xla/tools/parser/
H A Dhlo_parser.cc953 optional<int64> exponent_bits; local
955 attrs["exponent_bits"] = {/*required=*/true, AttrTy::kInt64,
956 &exponent_bits};
965 shape, operands[0], static_cast<int>(*exponent_bits),
/external/tensorflow/tensorflow/compiler/xla/client/
H A Dcomputation_builder.cc1456 const ComputationDataHandle& operand, const int exponent_bits,
1462 request->set_exponent_bits(exponent_bits);
1455 ReducePrecision( const ComputationDataHandle& operand, const int exponent_bits, const int mantissa_bits) argument
/external/protobuf/gtest/fused-src/gtest/
H A Dgtest.h6710 // sign_bit exponent_bits fraction_bits
6798 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } function in class:testing::internal::FloatingPoint
6810 return (exponent_bits() == kExponentBitMask) && (fraction_bits() != 0);
/external/vulkan-validation-layers/tests/gtest-1.7.0/fused-src/gtest/
H A Dgtest.h7177 // sign_bit exponent_bits fraction_bits
7268 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } function in class:testing::internal::FloatingPoint
7280 return (exponent_bits() == kExponentBitMask) && (fraction_bits() != 0);

Completed in 2906 milliseconds