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

Method HandleTuple

tensorflow/compiler/xla/service/cpu/ir_emitter.cc:687–695  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

685}
686
687Status IrEmitter::HandleTuple(HloInstruction* tuple) {
688 TF_RETURN_IF_ERROR(EmitTargetAddressForOp(tuple));
689 std::vector<llvm::Value*> base_ptrs;
690 for (auto operand : tuple->operands()) {
691 base_ptrs.push_back(GetEmittedValueFor(operand));
692 }
693 llvm_ir::EmitTuple(GetIrArrayFor(tuple), base_ptrs, &b_);
694 return Status::OK();
695}
696
697llvm::Value* IrEmitter::EmitElementalMap(
698 const HloMapInstruction& map_instr,

Callers

nothing calls this directly

Calls 3

EmitTupleFunction · 0.85
operandsMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected