Searched refs:GpuInstructionFusion (Results 1 – 7 of 7) sorted by relevance
48 EXPECT_FALSE(GpuInstructionFusion(/*may_duplicate=*/true) in TEST_F()68 EXPECT_TRUE(GpuInstructionFusion(/*may_duplicate=*/true) in TEST_F()87 EXPECT_TRUE(GpuInstructionFusion(/*may_duplicate=*/true) in TEST_F()106 EXPECT_TRUE(GpuInstructionFusion(/*may_duplicate=*/true) in TEST_F()126 EXPECT_TRUE(GpuInstructionFusion(/*may_duplicate=*/true) in TEST_F()143 EXPECT_FALSE(GpuInstructionFusion(/*may_duplicate=*/true) in TEST_F()168 EXPECT_TRUE(GpuInstructionFusion(/*may_duplicate=*/true) in TEST_F()196 EXPECT_FALSE(GpuInstructionFusion(/*may_duplicate=*/true) in TEST_F()226 EXPECT_FALSE(GpuInstructionFusion(/*may_duplicate=*/true) in TEST_F()241 EXPECT_TRUE(GpuInstructionFusion(/*may_duplicate=*/true) in TEST_F()[all …]
39 /*static*/ bool GpuInstructionFusion::IsExpensive( in IsExpensive()58 FusionDecision GpuInstructionFusion::ShouldFuseInexpensiveChecks( in ShouldFuseInexpensiveChecks()84 FusionDecision GpuInstructionFusion::ShouldFuse(HloInstruction* consumer, in ShouldFuse()122 HloInstruction::FusionKind GpuInstructionFusion::ChooseKind( in ChooseKind()127 HloInstruction* GpuInstructionFusion::FuseInstruction( in FuseInstruction()
27 class GpuInstructionFusion : public InstructionFusion {29 explicit GpuInstructionFusion(bool may_duplicate) in GpuInstructionFusion() function30 : InstructionFusion(GpuInstructionFusion::IsExpensive, may_duplicate) {} in GpuInstructionFusion()
190 fusion.AddPass<xla::gpu::GpuInstructionFusion>(/*may_duplicate=*/false); in TEST_F()191 fusion.AddPass<xla::gpu::GpuInstructionFusion>(/*may_duplicate=*/true); in TEST_F()
315 GpuInstructionFusion::IsExpensive(*instruction)) { in HandleFusion()
618 fusion.AddPass<GpuInstructionFusion>(/*may_duplicate=*/false); in OptimizeHloModule()619 fusion.AddPass<GpuInstructionFusion>(/*may_duplicate=*/true); in OptimizeHloModule()
82 EXPECT_TRUE(GpuInstructionFusion(false).Run(module.get()).ValueOrDie()); in TEST_F()