- Sort Score
- Result 10 results
- Languages All
Results 11 - 14 of 14 for fromType (0.28 sec)
-
tensorflow/compiler/mlir/lite/experimental/tac/hardwares/gpu_hardware.cc
return patterns; } double GpuHardware::GetHardwareSwitchingCost(const TargetHardware* from, size_t buffer_size) const { auto from_type = from->GetTypeId(); auto to_type = GetTypeId(); if (from_type == to_type) return 0.0f; // TODO(renjieliu): Implement a better version for different hardware cases. return buffer_size * kCrossHardwareTransferPerByteCost / 8.0 +
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 06 03:08:33 UTC 2023 - 7.8K bytes - Viewed (0) -
src/cmd/internal/obj/link.go
type AddrPos struct { Addr Pos OperandPos } type OperandPos int8 const ( Source OperandPos = iota Destination ) // From3Type returns p.GetFrom3().Type, or TYPE_NONE when // p.GetFrom3() returns nil. func (p *Prog) From3Type() AddrType { from3 := p.GetFrom3() if from3 == nil { return TYPE_NONE } return from3.Type }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 33.1K bytes - Viewed (0) -
src/cmd/internal/obj/ppc64/asm9.go
} else if p.From3Type() == obj.TYPE_CONST { /* imm imm reg reg */ /* operand order: SIX, VRA, ST, VRT */ six := int(c.regoff(&p.From)) st := int(c.regoff(p.GetFrom3())) o1 = AOP_IIRR(c.opiirr(p.As), uint32(p.To.Reg), uint32(p.Reg), uint32(st), uint32(six)) } else if p.From3Type() == obj.TYPE_NONE && p.Reg != 0 { /* imm reg reg */
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 13:55:28 UTC 2024 - 156.1K bytes - Viewed (0) -
src/cmd/internal/obj/arm64/asm7.go
cond := SpecialOperand(p.From.Offset) if cond < SPOP_EQ || cond > SPOP_NV || (cond == SPOP_AL || cond == SPOP_NV) && p.From3Type() == obj.TYPE_NONE { c.ctxt.Diag("invalid condition: %v", p) } else { cond -= SPOP_EQ } r := int(p.Reg) var rf int = r if p.From3Type() == obj.TYPE_NONE { /* CINC/CINV/CNEG or CSET/CSETM*/ if r == obj.REG_NONE { /* CSET/CSETM */
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:44:14 UTC 2024 - 201.1K bytes - Viewed (0)