Home
last modified time | relevance | path

Searched refs:FusionKind (Results 1 – 25 of 47) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/xla/tests/
Dcpu_gpu_fusion_test.cc127 HloInstruction::FusionKind::kLoop); in TestElementwise2D()
237 HloInstruction::FusionKind::kLoop); in XLA_TEST_F()
263 HloInstruction::FusionKind::kLoop); in XLA_TEST_F()
295 HloInstruction::FusionKind::kLoop); in XLA_TEST_F()
323 HloInstruction::FusionKind::kLoop); in XLA_TEST_F()
339 HloInstruction::FusionKind::kLoop); in XLA_TEST_F()
354 HloInstruction::FusionKind::kLoop); in XLA_TEST_F()
369 HloInstruction::FusionKind::kLoop); in XLA_TEST_F()
384 HloInstruction::FusionKind::kLoop); in XLA_TEST_F()
399 HloInstruction::FusionKind::kLoop); in XLA_TEST_F()
[all …]
Dmultioutput_fusion_test.cc108 {tuple, sub, add2, broadcast}, HloInstruction::FusionKind::kLoop), in RunTest2D()
172 HloInstruction::FusionKind::kLoop), in RunTest1D()
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCMacroFusion.cpp26 enum FusionKind { enum in __anonb447b9d50111::FusionFeature
36 FusionKind Kd;
49 FusionFeature(FusionKind Kind, bool HasFeature, int Index, in FusionFeature()
63 FusionKind getKind() const { return Kd; } in getKind()
80 static bool checkOpConstraints(FusionFeature::FusionKind Kd, in checkOpConstraints()
/external/tensorflow/tensorflow/compiler/xla/service/
Ddefuser_test.cc73 HloInstruction::FusionKind::kLoop); in TEST_F()
99 HloInstruction::FusionKind::kLoop); in TEST_F()
138 HloInstruction::FusionKind::kLoop); in TEST_F()
176 HloInstruction::FusionKind::kLoop); in TEST_F()
178 HloInstruction::FusionKind::kLoop); in TEST_F()
204 {negate, add}, HloInstruction::FusionKind::kLoop); in TEST_F()
208 {fused_negate}, HloInstruction::FusionKind::kLoop); in TEST_F()
Dhlo_instruction_test.cc638 {exp}, HloInstruction::FusionKind::kLoop); in TEST_F()
656 {add}, HloInstruction::FusionKind::kLoop); in TEST_F()
678 {exp3, exp2, exp1}, HloInstruction::FusionKind::kLoop); in TEST_F()
701 {exp2, exp1}, HloInstruction::FusionKind::kLoop); in TEST_F()
837 {map_3_y}, HloInstruction::FusionKind::kLoop); in TEST_F()
884 {tuple, sub, mul, exp, clamp, add}, HloInstruction::FusionKind::kLoop); in TEST_F()
1135 {max, broadcast, div, mul}, HloInstruction::FusionKind::kLoop); in TEST_F()
1176 {sub, broadcast, min}, HloInstruction::FusionKind::kLoop); in TEST_F()
1219 {dot, reshape}, HloInstruction::FusionKind::kLoop); in TEST_F()
1318 {dot, reshape}, HloInstruction::FusionKind::kLoop); in TEST_F()
[all …]
Dhlo_graph_dumper_test.cc65 {sums[3], sums[2], sums[1], sums[0]}, HloInstruction::FusionKind::kLoop); in TEST_F()
80 {fused_sums[1], fused_sums[0]}, HloInstruction::FusionKind::kLoop); in TEST_F()
Dhlo_instruction.h476 enum class FusionKind { enum
968 const Shape& shape, FusionKind fusion_kind, HloInstruction* fused_root);
971 const Shape& shape, FusionKind fusion_kind,
1760 FusionKind fusion_kind() const;
1763 void set_fusion_kind(FusionKind kind);
2156 string ToString(HloInstruction::FusionKind kind);
2157 StatusOr<HloInstruction::FusionKind> StringToFusionKind(
2176 std::ostream& operator<<(std::ostream& os, HloInstruction::FusionKind kind);
Dinstruction_fusion.h91 virtual HloInstruction::FusionKind ChooseKind(const HloInstruction* producer,
Dhlo_instruction.cc353 TF_ASSIGN_OR_RETURN(FusionKind fusion_kind, in CreateFromProto()
1485 const Shape& shape, FusionKind fusion_kind, HloInstruction* fused_root) { in CreateFusion()
1491 const Shape& shape, FusionKind fusion_kind, in CreateFusion()
3003 return opcode() == HloOpcode::kFusion && fusion_kind() == FusionKind::kInput; in IsInputFusion()
3007 return opcode() == HloOpcode::kFusion && fusion_kind() == FusionKind::kLoop; in IsLoopFusion()
3011 return opcode() == HloOpcode::kFusion && fusion_kind() == FusionKind::kOutput; in IsOutputFusion()
3015 return opcode() == HloOpcode::kFusion && fusion_kind() == FusionKind::kCustom; in IsCustomFusion()
3633 string ToString(HloInstruction::FusionKind kind) { in ToString()
3635 case HloInstruction::FusionKind::kLoop: in ToString()
3637 case HloInstruction::FusionKind::kInput: in ToString()
[all …]
Dpattern_matcher_test.cc153 TEST_F(PatternMatcherTest, FusionKind) { in TEST_F() argument
170 root, match::Op().WithFusionKind(HloInstruction::FusionKind::kLoop))); in TEST_F()
172 root, match::Op().WithFusionKind(HloInstruction::FusionKind::kInput))); in TEST_F()
174 HloInstruction::FusionKind::kLoop))); in TEST_F()
732 iota, m::Op().WithFusionKind(HloInstruction::FusionKind::kLoop), in TEST_F()
Dbfloat16_propagation_test.cc399 tuple_f0->shape(), HloInstruction::FusionKind::kCustom, {add, add}, in TEST_F()
412 dot->shape(), HloInstruction::FusionKind::kCustom, {fusion0}, comp_f1)); in TEST_F()
444 f32_shape, HloInstruction::FusionKind::kLoop, {param}, comp_f)); in TEST_F()
478 dot_f->shape(), HloInstruction::FusionKind::kCustom, {add, add}, comp_f)); in TEST_F()
517 tuple_f->shape(), HloInstruction::FusionKind::kCustom, {add, add}, in TEST_F()
692 shape, HloInstruction::FusionKind::kCustom, {body_transpose}, comp_f)); in TEST_F()
Dhlo_dataflow_analysis_test.cc2141 HloInstruction::FusionKind::kLoop); in TEST_F()
2184 HloInstruction::FusionKind::kLoop); in TEST_F()
2235 {reverse, neg}, HloInstruction::FusionKind::kLoop); in TEST_F()
2264 {tuple, copy1, copy0}, HloInstruction::FusionKind::kLoop); in TEST_F()
2295 {exp, neg}, HloInstruction::FusionKind::kLoop); in TEST_F()
2320 {dus, ds, zero}, HloInstruction::FusionKind::kLoop); in TEST_F()
2422 HloInstruction::FusionKind::kLoop); in TEST_F()
2465 HloInstruction::FusionKind::kLoop); in TEST_F()
2641 {add, dot}, HloInstruction::FusionKind::kOutput); in TEST_F()
2669 {add, two, reverse}, HloInstruction::FusionKind::kOutput); in TEST_F()
[all …]
Dinstruction_fusion.cc719 HloInstruction::FusionKind InstructionFusion::ChooseKind( in ChooseKind()
721 return HloInstruction::FusionKind::kLoop; in ChooseKind()
Dhlo_cost_analysis_test.cc626 {sub, mul, exp, clamp, add}, HloInstruction::FusionKind::kLoop); in TEST_F()
688 {tuple2, sub, mul, exp, clamp, add}, HloInstruction::FusionKind::kLoop); in TEST_F()
742 {add, broadcast}, HloInstruction::FusionKind::kLoop); in TEST_F()
Dhlo_instructions.h891 explicit HloFusionInstruction(const Shape& shape, FusionKind fusion_kind,
894 explicit HloFusionInstruction(const Shape& shape, FusionKind fusion_kind,
973 FusionKind fusion_kind() const { return fusion_kind_; } in fusion_kind()
975 void set_fusion_kind(FusionKind kind) { fusion_kind_ = kind; } in set_fusion_kind()
1012 FusionKind fusion_kind_;
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dgpu_fusible.cc197 instr.fusion_kind() == HloInstruction::FusionKind::kInput && in IsInputFusibleScatter()
225 instr.fusion_kind() == HloInstruction::FusionKind::kLoop) || in IsLoopFusible()
519 HloInstruction::FusionKind ChooseFusionKind(const HloInstruction& /*producer*/, in ChooseFusionKind()
521 return IsInputFusible(consumer) ? HloInstruction::FusionKind::kInput in ChooseFusionKind()
522 : HloInstruction::FusionKind::kLoop; in ChooseFusionKind()
Dinstruction_fusion.h39 HloInstruction::FusionKind ChooseKind(
Dgpu_fusible.h105 HloInstruction::FusionKind ChooseFusionKind(const HloInstruction& producer,
Dinstruction_fusion.cc128 HloInstruction::FusionKind GpuInstructionFusion::ChooseKind( in ChooseKind()
Dfusion_merger_test.cc352 shape, HloInstruction::FusionKind::kLoop, params, subcomp); in TEST_F()
Dinstruction_fusion_test.cc388 EXPECT_EQ(root->fusion_kind(), HloInstruction::FusionKind::kLoop); in TEST_F()
530 HloInstruction::FusionKind::kInput); in TEST_F()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_instruction_fusion.cc198 HloInstruction::FusionKind CpuInstructionFusion::ChooseKind( in ChooseKind()
201 ? HloInstruction::FusionKind::kOutput in ChooseKind()
202 : HloInstruction::FusionKind::kLoop; in ChooseKind()
Dcpu_instruction_fusion.h40 HloInstruction::FusionKind ChooseKind(
Dcpu_instruction_fusion_test.cc266 HloInstruction::FusionKind fusion_kind = in RunFusionAndCheckOpcodesWereFused()
267 HloInstruction::FusionKind::kLoop) { in RunFusionAndCheckOpcodesWereFused()
680 HloInstruction::FusionKind::kOutput); in TEST_F()
693 HloInstruction::FusionKind::kOutput); in TEST_F()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/tests/
Dparallel_reduction_test.cc126 HloInstruction::FusionKind::kInput, entry_params, fusion_computation)); in TEST_F()

12