Home
last modified time | relevance | path

Searched refs:ReductionKind (Results 1 – 16 of 16) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dnccl_all_reduce_thunk.cc39 static absl::optional<ReductionKind> MatchReductionComputation( in MatchReductionComputation()
67 return ReductionKind::MIN; in MatchReductionComputation()
69 return ReductionKind::MAX; in MatchReductionComputation()
76 return ReductionKind::SUM; in MatchReductionComputation()
78 return ReductionKind::PRODUCT; in MatchReductionComputation()
80 return ReductionKind::MAX; in MatchReductionComputation()
82 return ReductionKind::MIN; in MatchReductionComputation()
Dnccl_utils.cc36 ncclRedOp_t ToNcclReduction(ReductionKind kind) { in ToNcclReduction()
38 case ReductionKind::SUM: in ToNcclReduction()
40 case ReductionKind::PRODUCT: in ToNcclReduction()
42 case ReductionKind::MIN: in ToNcclReduction()
44 case ReductionKind::MAX: in ToNcclReduction()
Dnccl_all_reduce_thunk.h32 ReductionKind reduction_kind;
Dnccl_utils.h50 ncclRedOp_t ToNcclReduction(ReductionKind kind);
/external/tensorflow/tensorflow/compiler/xla/service/
Dcollective_ops_utils.cc22 absl::optional<ReductionKind> MatchReductionComputation( in MatchReductionComputation()
39 return ReductionKind::SUM; in MatchReductionComputation()
41 return ReductionKind::PRODUCT; in MatchReductionComputation()
44 return ReductionKind::MIN; in MatchReductionComputation()
47 return ReductionKind::MAX; in MatchReductionComputation()
Dcollective_ops_utils.h34 enum class ReductionKind { SUM, PRODUCT, MIN, MAX }; enum
37 absl::optional<ReductionKind> MatchReductionComputation(
176 ReductionKind reduction_kind;
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_runtime.cc477 xla::ReductionKind reduction_kind = participant.reduction_kind; in DoAllReduce()
538 T GetInitialValue(xla::ReductionKind reduction_kind) { in GetInitialValue()
540 case xla::ReductionKind::SUM: in GetInitialValue()
542 case xla::ReductionKind::PRODUCT: in GetInitialValue()
544 case xla::ReductionKind::MIN: in GetInitialValue()
546 case xla::ReductionKind::MAX: in GetInitialValue()
552 T PerformReductionStep(xla::ReductionKind reduction_kind, T a, T b) { in PerformReductionStep()
554 case xla::ReductionKind::SUM: in PerformReductionStep()
556 case xla::ReductionKind::PRODUCT: in PerformReductionStep()
558 case xla::ReductionKind::MIN: in PerformReductionStep()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DTargetTransformInfo.cpp881 enum ReductionKind { enum
890 ReductionData(ReductionKind Kind, unsigned Opcode, Value *LHS, Value *RHS) in ReductionData()
897 ReductionKind Kind = RK_None;
927 static ReductionKind matchPairwiseReductionAtLevel(Instruction *I, in matchPairwiseReductionAtLevel()
1010 static ReductionKind matchPairwiseReduction(const ExtractElementInst *ReduxRoot, in matchPairwiseReduction()
1074 static ReductionKind
/external/llvm-project/llvm/lib/Analysis/
DTargetTransformInfo.cpp1102 static TTI::ReductionKind matchPairwiseReductionAtLevel(Instruction *I, in matchPairwiseReductionAtLevel()
1187 TTI::ReductionKind TTI::matchPairwiseReduction( in matchPairwiseReduction()
1251 TTI::ReductionKind TTI::matchVectorSplittingReduction( in matchVectorSplittingReduction()
1331 TTI::ReductionKind
1334 TTI::ReductionKind RdxKind = matchVectorSplittingReduction(Root, Opcode, Ty); in matchVectorReduction()
1335 if (RdxKind != TTI::ReductionKind::RK_None) { in matchVectorReduction()
/external/llvm-project/llvm/include/llvm/Analysis/
DTargetTransformInfo.h856 enum ReductionKind { enum
866 ReductionData(ReductionKind Kind, unsigned Opcode, Value *LHS, Value *RHS) in ReductionData()
873 ReductionKind Kind = RK_None;
879 static ReductionKind matchPairwiseReduction(
882 static ReductionKind matchVectorSplittingReduction(
885 static ReductionKind matchVectorReduction(const ExtractElementInst *ReduxRoot,
/external/llvm-project/clang/lib/CodeGen/
DCGOpenMPRuntime.h1397 OpenMPDirectiveKind ReductionKind; member
DCGStmtOpenMP.cpp1393 const OMPExecutableDirective &D, const OpenMPDirectiveKind ReductionKind) { in EmitOMPReductionClauseFinal() argument
1422 ReductionKind == OMPD_simd; in EmitOMPReductionClauseFinal()
1423 bool SimpleReduction = ReductionKind == OMPD_simd; in EmitOMPReductionClauseFinal()
1428 {WithNowait, SimpleReduction, ReductionKind}); in EmitOMPReductionClauseFinal()
DCGOpenMPRuntimeGPU.cpp3919 bool ParallelReduction = isOpenMPParallelDirective(Options.ReductionKind); in emitReduction()
3921 bool TeamsReduction = isOpenMPTeamsDirective(Options.ReductionKind); in emitReduction()
DCodeGenFunction.h3355 const OpenMPDirectiveKind ReductionKind);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp6107 enum ReductionKind { enum in __anoncaa0dc781f11::HorizontalReduction
6128 ReductionKind Kind = RK_None;
6191 OperationData(unsigned Opcode, Value *LHS, Value *RHS, ReductionKind Kind, in OperationData()
6330 ReductionKind getKind() const { return Kind; } in getKind()
/external/llvm-project/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp6443 enum ReductionKind { enum in __anon42e2fe642411::HorizontalReduction
6458 ReductionKind Kind = RK_None;
6516 OperationData(unsigned Opcode, ReductionKind Kind) in OperationData()
6643 ReductionKind getKind() const { return Kind; } in getKind()