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

Method HandleTuple

tensorflow/compiler/xla/service/gpu/ir_emitter.cc:162–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162Status IrEmitter::HandleTuple(HloInstruction* tuple) {
163 std::vector<llvm::Value*> base_ptrs;
164 for (const HloInstruction* operand : tuple->operands()) {
165 base_ptrs.push_back(GetBasePointer(*operand));
166 }
167 llvm_ir::EmitTuple(GetIrArray(*tuple, *tuple), base_ptrs, &b_);
168 return Status::OK();
169}
170
171Status IrEmitter::EmitCallToNestedComputation(
172 const HloComputation& nested_computation,

Callers

nothing calls this directly

Calls 3

EmitTupleFunction · 0.85
operandsMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected