MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / IsInputFusible

Function IsInputFusible

tensorflow/compiler/xla/service/gpu/gpu_fusible.cc:181–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179}
180
181bool IsInputFusible(const HloInstruction& instr) {
182 // Input fusion only handles non-elemental reduction and scatter operations.
183 return instr.IsFusible() &&
184 (IsInputFusibleReduction(instr) || IsInputFusibleScatter(instr));
185}
186
187bool IsLoopFusible(const HloInstruction& instr) {
188 // Don't fuse get-tuple-element on GPU: We can, but it's slower than not

Callers 2

IsFusibleFunction · 0.85
ChooseFusionKindFunction · 0.85

Calls 3

IsInputFusibleReductionFunction · 0.85
IsInputFusibleScatterFunction · 0.85
IsFusibleMethod · 0.80

Tested by

no test coverage detected