Home
last modified time | relevance | path

Searched refs:IsSignedIntegralType (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/
Dprimitive_util.cc48 bool IsSignedIntegralType(PrimitiveType type) { in IsSignedIntegralType() function
57 return IsUnsignedIntegralType(type) || IsSignedIntegralType(type); in IsIntegralType()
Dprimitive_util.h142 bool IsSignedIntegralType(PrimitiveType type);
/external/tensorflow/tensorflow/compiler/xla/service/
Delemental_ir_emitter.cc195 if (primitive_util::IsSignedIntegralType(from_type)) { in EmitIntegralToFloating()
240 primitive_util::IsSignedIntegralType(from_type)); in EmitIntegerUnaryOp()
254 if (primitive_util::IsSignedIntegralType(from_type)) { in EmitIntegerUnaryOp()
289 primitive_util::IsSignedIntegralType(op->shape().element_type()); in EmitIntegerUnaryOp()
306 CHECK(primitive_util::IsSignedIntegralType(op->shape().element_type())) in EmitIntegerUnaryOp()
378 if (primitive_util::IsSignedIntegralType(to_type)) { in EmitFloatUnaryOp()
691 primitive_util::IsSignedIntegralType(operand_type)); in EmitBinaryOp()
1696 bool is_signed = primitive_util::IsSignedIntegralType(prim_type); in EmitElementalClamp()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emitter.cc226 auto opcode = primitive_util::IsSignedIntegralType(element_type) in MaybeEmitDirectAtomicOperation()
236 auto opcode = primitive_util::IsSignedIntegralType(element_type) in MaybeEmitDirectAtomicOperation()