Home
last modified time | relevance | path

Searched refs:kCustomCall (Results 1 – 25 of 39) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/xla/service/
Dbfloat16_support.cc28 case HloOpcode::kCustomCall: in SupportsBF16Operand()
47 case HloOpcode::kCustomCall: in SupportsBF16Output()
66 case HloOpcode::kCustomCall: in SupportsMixedPrecisions()
Dhlo_opcode_test.cc58 case HloOpcode::kCustomCall: in TEST()
Dhlo_matchers.h95 : HloMatcher(HloOpcode::kCustomCall, operands), in HloCustomCallMatcher()
373 HloOpcode::kCustomCall, {operands_first, operands_rest...})); in CustomCall()
377 new ::xla::testing::HloMatcher(HloOpcode::kCustomCall, {})); in CustomCall()
Ddynamic_padder_test.cc47 if (hlo->opcode() != HloOpcode::kCustomCall) { in OpHasDynamismSupport()
186 ASSERT_THAT(slice_to_dynamic->opcode(), HloOpcode::kCustomCall); in TEST_F()
190 ASSERT_THAT(pad_to_static->opcode(), HloOpcode::kCustomCall); in TEST_F()
193 ASSERT_THAT(slice_to_dynamic->opcode(), HloOpcode::kCustomCall); in TEST_F()
Dhlo_opcode.h80 V(kCustomCall, "custom-call", kHloOpcodeIsVariadic) \
Dhlo.proto138 // kCustomCall.
231 // Whether the kCustomCall instruction has side-effects, only present for
232 // kCustomCall.
236 // buffers between output and operands for kCustomCall.
Dhlo_element_type_converter.cc138 if (opcode == HloOpcode::kCustomCall) { in Run()
Dbfloat16_conversion_folding.cc173 hlo->opcode() == HloOpcode::kCustomCall || // in DefaultAction()
Dhlo_dataflow_analysis.cc437 CHECK_EQ(custom_call->opcode(), HloOpcode::kCustomCall); in UpdateCustomCallValueSet()
777 case HloOpcode::kCustomCall: in UpdateInstructionValueSet()
1040 case HloOpcode::kCustomCall: { in InitializeInstructionValueSets()
Dhlo_instruction.cc549 case HloOpcode::kCustomCall: { in CreateFromProto()
1539 case HloOpcode::kCustomCall: in HasSideEffectNoRecurse()
1696 case HloOpcode::kCustomCall: in CloneWithNewOperands()
2234 case HloOpcode::kCustomCall: in IdenticalSlowPath()
2437 case HloOpcode::kCustomCall: in to_apply()
2458 case HloOpcode::kCustomCall: in set_to_apply()
2830 } else if (opcode() == HloOpcode::kCustomCall) { in ExtraAttributesToString()
2999 return opcode() == HloOpcode::kCustomCall && custom_call_target() == target; in IsCustomCall()
3238 case HloOpcode::kCustomCall: in Visit()
Dhlo_replication_analysis.cc132 if (hlo->opcode() == HloOpcode::kCustomCall && in DetermineHloInstructionIsReplicated()
Dcall_graph.cc69 case HloOpcode::kCustomCall: in GetInstructionCallContext()
Dqr_expander.cc419 return instruction->opcode() == HloOpcode::kCustomCall && in InstructionMatchesPattern()
Dbfloat16_normalization.cc501 hlo->opcode() == HloOpcode::kCustomCall || // in DefaultAction()
Dinstruction_fusion.cc156 case HloOpcode::kCustomCall: in IsExpensive()
Dhlo_verifier.cc51 case HloOpcode::kCustomCall: in IsCallerInstruction()
1086 case HloOpcode::kCustomCall: in CheckMixedPrecisionOperands()
1200 case HloOpcode::kCustomCall: in CheckShape()
Dhlo_instructions.cc2341 : HloInstruction(HloOpcode::kCustomCall, shape), in HloCustomCallInstruction()
2358 : HloInstruction(HloOpcode::kCustomCall, shape), in HloCustomCallInstruction()
2376 : HloInstruction(HloOpcode::kCustomCall, shape), in HloCustomCallInstruction()
2396 : HloInstruction(HloOpcode::kCustomCall, shape), in HloCustomCallInstruction()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dgpu_layout_assignment.cc314 if (instruction->opcode() == HloOpcode::kCustomCall && in PropagateOperandConstraint()
326 if (instruction->opcode() == HloOpcode::kCustomCall && in PropagateOperandConstraint()
341 if (instruction->opcode() == HloOpcode::kCustomCall && in PropagateOperandConstraint()
372 if (instruction->opcode() == HloOpcode::kCustomCall && in PropagateBufferConstraint()
379 if (instruction->opcode() == HloOpcode::kCustomCall && in PropagateBufferConstraint()
386 if (instruction->opcode() == HloOpcode::kCustomCall && in PropagateBufferConstraint()
Dthunk.cc51 case Thunk::kCustomCall: in ThunkKindToString()
Dcustom_call_thunk.cc34 : Thunk(Thunk::kCustomCall, thunk_info), in CustomCallThunk()
Dcudnn_fused_conv_rewriter.cc88 &gte, Op(&conv_instr).WithOpcode(HloOpcode::kCustomCall), 0); in FindConvWithRelu()
322 &gte, Op(&conv_instr).WithOpcode(HloOpcode::kCustomCall), 0), in FindConvWithClampAndConvertToInt8()
443 .WithOpcode(HloOpcode::kCustomCall) in FindConvWithConvertToFloat()
Dthunk.h55 kCustomCall, enumerator
Dir_emission_utils.cc129 return hlo.opcode() == HloOpcode::kCustomCall && in IsCublasGemm()
172 if (hlo.opcode() != HloOpcode::kCustomCall) { in IsCustomCallToDnnBatchNorm()
191 if (hlo.opcode() != HloOpcode::kCustomCall) { in IsCustomCallToDnnConvolution()
204 if (hlo.opcode() != HloOpcode::kCustomCall) { in IsCustomCallToCusolver()
Dnvptx_compiler.cc195 if (user->opcode() == HloOpcode::kCustomCall && in CanShareBufferHint()
/external/tensorflow/tensorflow/compiler/xla/client/
Dxla_builder.cc143 if (opcode == HloOpcode::kCustomCall && in InstrIsSetBound()
352 case HloOpcode::kCustomCall: in IsConstantVisitor()
1546 return AddInstruction(std::move(instr), HloOpcode::kCustomCall, in DynamicConvInputGrad()
1572 return AddInstruction(std::move(instr), HloOpcode::kCustomCall, in DynamicConvKernelGrad()
1594 return AddInstruction(std::move(instr), HloOpcode::kCustomCall, {lhs, rhs}); in DynamicConvForward()
1955 return AddInstruction(std::move(instr), HloOpcode::kCustomCall, operands); in CustomCallInternal()
2016 return AddInstruction(std::move(instr), HloOpcode::kCustomCall, operands); in CustomCall()
2541 return AddInstruction(std::move(instr), HloOpcode::kCustomCall, args); in ReduceWindow()
3062 return AddInstruction(std::move(instr), HloOpcode::kCustomCall, in SelectAndScatter()
3592 case HloOpcode::kCustomCall: in BuildDynamicInferenceGraph()

12