Home
last modified time | relevance | path

Searched refs:kReduce (Results 1 – 25 of 44) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dgpu_fusible_test.cc49 ASSERT_EQ(reduce->opcode(), HloOpcode::kReduce); in TEST_F()
86 HloOpcode::kReduce); in TEST_F()
124 HloOpcode::kReduce); in TEST_F()
148 ASSERT_EQ(reduce->fused_expression_root()->opcode(), HloOpcode::kReduce); in TEST_F()
184 HloOpcode::kReduce); in TEST_F()
213 ASSERT_EQ(reduce->opcode(), HloOpcode::kReduce); in TEST_F()
232 ASSERT_EQ(reduce->opcode(), HloOpcode::kReduce); in TEST_F()
250 ASSERT_EQ(reduce->opcode(), HloOpcode::kReduce); in TEST_F()
Dgpu_fusible.cc54 if (instr.opcode() == HloOpcode::kReduce && in IfFusedReadsElementsMultipleTimes()
138 if (instr.opcode() == HloOpcode::kReduce && instr.shape().IsTuple()) { in IsInputFusibleReduction()
229 (instr.opcode() == HloOpcode::kReduce && in IsLoopFusible()
321 if (instr.opcode() == HloOpcode::kReduce && in SharedMemoryUsage()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_instruction_fusion.cc38 hlo.opcode() == HloOpcode::kReduce || in CanBeLoopFused()
173 if (consumer->opcode() == HloOpcode::kReduce) { in ShouldFuse()
178 if (producer->opcode() == HloOpcode::kReduce) { in ShouldFuse()
Dparallel_task_assignment.cc157 opcode == HloOpcode::kPad || opcode == HloOpcode::kReduce || in GetTargetParallelTaskCount()
/external/tensorflow/tensorflow/compiler/xla/service/
Dwhile_loop_expensive_invariant_code_motion_test.cc95 instr.opcode() == HloOpcode::kReduce; in TEST_F()
179 instr.opcode() == HloOpcode::kReduce; in TEST_F()
Dhlo_opcode_test.cc64 case HloOpcode::kReduce: in TEST()
Dbfloat16_support.cc114 case HloOpcode::kReduce: in EffectiveOperandPrecisionIsOutputPrecision()
Dfusion_node_indexing_evaluation.cc55 case HloOpcode::kReduce: in OpInvalidatesCache()
Dhlo_opcode.h120 V(kReduce, "reduce", kHloOpcodeIsVariadic) \
Dhlo_cse.cc143 case HloOpcode::kReduce: in CseHash()
Dhlo_element_type_converter.cc146 opcode == HloOpcode::kMap || opcode == HloOpcode::kReduce || in Run()
Dbfloat16_normalization_test.cc41 hlo.opcode() == HloOpcode::kReduce || in SupportsBF16Operand()
55 if (hlo.opcode() == HloOpcode::kAdd || hlo.opcode() == HloOpcode::kReduce || in SupportsBF16Output()
Dsharding_propagation.cc263 case HloOpcode::kReduce: in PickRepresentativeOperand()
321 case HloOpcode::kReduce: in SupportSpatialPartitioning()
592 instruction->opcode() == HloOpcode::kReduce || in InferShardingFromOperands()
683 case HloOpcode::kReduce: { in InferShardingFromOperands()
1309 case HloOpcode::kReduce: { in GetShardingFromUser()
Dhlo_instruction.cc256 case HloOpcode::kReduce: in CreateFromProto()
1672 case HloOpcode::kReduce: in CloneWithNewOperands()
2210 case HloOpcode::kReduce: in IdenticalSlowPath()
2433 case HloOpcode::kReduce: in to_apply()
2454 case HloOpcode::kReduce: in set_to_apply()
2824 opcode() == HloOpcode::kReduce || in ExtraAttributesToString()
2883 case HloOpcode::kReduce: in ExtraAttributesToString()
3035 case HloOpcode::kReduce: in IsFusible()
3152 case HloOpcode::kReduce: in Visit()
3591 case HloOpcode::kReduce: in OperandElementUse()
Dhlo_replication_analysis.cc143 hlo->opcode() == HloOpcode::kReduce || // in DetermineHloInstructionIsReplicated()
Dcall_graph.cc63 case HloOpcode::kReduce: in GetInstructionCallContext()
Dconditional_simplifier.cc123 case HloOpcode::kReduce: in TryRemoveConditional()
Dinstruction_fusion.cc172 case HloOpcode::kReduce: in IsExpensive()
Dhlo_module.cc171 case HloOpcode::kReduce: in ReplaceComputations()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dreduce_hlo_test.cc80 ASSERT_EQ(reduce_instruction->opcode(), HloOpcode::kReduce); in XLA_TEST_P()
Dtest_utils.cc485 (opcode == HloOpcode::kReduce && in NeedsInitValue()
601 case HloOpcode::kReduce: in CreateLiteralForConstrainedUses()
/external/tensorflow/tensorflow/core/kernels/linalg/
Deinsum_op_impl.h85 kReduce = 4, enumerator
100 return kReduce; in GetDimensionType()
512 if (reshape[kReduce] == 1) { // No need to actually reduce. in ReduceOperand()
525 .shaped<T, 2>({output_size, reshape[kReduce]}), in ReduceOperand()
/external/tensorflow/tensorflow/core/nccl/
Dnccl_manager.h206 kReduce = 3, enumerator
Dnccl_manager.cc460 AddParticipant(std::move(participant), context, kReduce, reduction_op); in AddReduceSend()
467 AddParticipant(std::move(participant), context, kReduce, reduction_op); in AddReduceRecv()
794 case kReduce: { in LoopKernelLaunches()
/external/tensorflow/tensorflow/compiler/mlir/g3doc/
Dxla_gpu_codegen.md104 * It's mostly portable and high-level (e.g. unlike GPU kReduce and GPU kCopy).
180 only exception is kReduce.
267 This calls on a rewrite/refactor for kCopy and kReduce. kReduce is already

12