Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 114 for set_sp (0.19 sec)

  1. src/runtime/signal_amd64.go

    	} else {
    		// Not safe to push the call. Just clobber the frame.
    		c.set_rip(uint64(abi.FuncPCABI0(sigpanic0)))
    	}
    }
    
    func (c *sigctxt) pushCall(targetPC, resumePC uintptr) {
    	// Make it look like we called target at resumePC.
    	sp := uintptr(c.rsp())
    	sp -= goarch.PtrSize
    	*(*uintptr)(unsafe.Pointer(sp)) = resumePC
    	c.set_rsp(uint64(sp))
    	c.set_rip(uint64(targetPC))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Apr 23 05:38:56 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  2. tensorflow/cc/tools/freeze_saved_model.cc

                                   const Tensor& variable_value,
                                   NodeDef* const_node) {
      const_node->set_name(variable_node.name());
      const_node->set_op("Const");
      (*const_node->mutable_attr())["dtype"] = variable_node.attr().at("dtype");
      variable_value.AsProtoTensorContent(
          (*const_node->mutable_attr())["value"].mutable_tensor());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 11 08:05:36 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/extract_outside_compilation_pass_test.cc

      RewriteOutsideCompilationSubgraphFn rewrite_fn("_xla", "_oc", "cluster", "");
      std::vector<OutputTensor> arg_source_tensors;
      NodeDef call_node_def;
      call_node_def.set_op("0");
      TF_CHECK_OK(
          rewrite_fn(arg_source_tensors, &g, nullptr, nullptr, &call_node_def));
      node_name_image = g->BuildNodeNameIndex();
    
      // Verify step 1: add key placeholder node.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 41K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/riscv/list.go

    	obj.RegisterOpcode(obj.ABaseRISCV, Anames)
    	obj.RegisterOpSuffix("riscv64", opSuffixString)
    }
    
    func RegName(r int) string {
    	switch {
    	case r == 0:
    		return "NONE"
    	case r == REG_G:
    		return "g"
    	case r == REG_SP:
    		return "SP"
    	case REG_X0 <= r && r <= REG_X31:
    		return fmt.Sprintf("X%d", r-REG_X0)
    	case REG_F0 <= r && r <= REG_F31:
    		return fmt.Sprintf("F%d", r-REG_F0)
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 14:34:57 UTC 2024
    - 959 bytes
    - Viewed (0)
  5. src/cmd/compile/internal/wasm/ssa.go

    		}
    		return
    	}
    
    	reg := v.Reg()
    	getReg(s, reg)
    	if reg != wasm.REG_SP {
    		s.Prog(wasm.AI32WrapI64)
    	}
    }
    
    func getValue64(s *ssagen.State, v *ssa.Value) {
    	if v.OnWasmStack {
    		s.OnWasmStackSkipped--
    		ssaGenValueOnStack(s, v, true)
    		return
    	}
    
    	reg := v.Reg()
    	getReg(s, reg)
    	if reg == wasm.REG_SP {
    		s.Prog(wasm.AI64ExtendI32U)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/utils/export_utils.cc

    Status ConvertAttribute(const mlir::BoolAttr& attr, AttrValue* value) {
      value->set_b(attr.getValue());
      return absl::OkStatus();
    }
    
    Status ConvertAttribute(const mlir::IntegerAttr& attr, AttrValue* value) {
      value->set_i(attr.getInt());
      return absl::OkStatus();
    }
    
    Status ConvertAttribute(const mlir::FloatAttr& attr, AttrValue* value) {
      value->set_f(attr.getValueAsDouble());
      return absl::OkStatus();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/encapsulate_xla_computations_pass.cc

      // may cause spurious cache misses.
      TF_ASSIGN_OR_RETURN(uint64 fingerprint, FingerprintGraph(*graph));
      VLOG(1) << "Subgraph fingerprint:" << fingerprint;
      call_def->set_op(absl::StrCat(call_def->op(), "_", fingerprint));
      return absl::OkStatus();
    }
    
    }  // namespace
    
    /*static*/ Status EncapsulateXlaComputationsPass::Encapsulate(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  8. src/runtime/signal_darwin_amd64.go

    func (c *sigctxt) set_rip(x uint64)     { c.regs().rip = x }
    func (c *sigctxt) set_rsp(x uint64)     { c.regs().rsp = x }
    func (c *sigctxt) set_sigcode(x uint64) { c.info.si_code = int32(x) }
    func (c *sigctxt) set_sigaddr(x uint64) { c.info.si_addr = x }
    
    //go:nosplit
    func (c *sigctxt) fixsigcode(sig uint32) {
    	switch sig {
    	case _SIGTRAP:
    		// OS X sets c.sigcode() == TRAP_BRKPT unconditionally for all SIGTRAPs,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 19 23:07:11 UTC 2022
    - 4K bytes
    - Viewed (0)
  9. tensorflow/c/kernels/bitcast_op_test.cc

        return cpu_allocator();
      }
    };
    
    void TestBitcastOp(Tensor* input_tensor, DataType out_type,
                       TensorShape expected_shape, error::Code expected_code) {
      Status status;
      NodeDef def;
      def.set_op("Bitcast");
      def.set_device(DEVICE_CPU);
    
      AttrValue typeAttr;
      SetAttrValue(input_tensor->dtype(), &typeAttr);
    
      AttrValue outTypeAttr;
      SetAttrValue(out_type, &outTypeAttr);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 18 15:10:51 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/riscv/obj.go

    		prologue.To = obj.Addr{Type: obj.TYPE_MEM, Reg: REG_SP, Offset: -stacksize}
    
    		// Insert stack adjustment.
    		prologue = obj.Appendp(prologue, newprog)
    		prologue.As = AADDI
    		prologue.From = obj.Addr{Type: obj.TYPE_CONST, Offset: -stacksize}
    		prologue.Reg = REG_SP
    		prologue.To = obj.Addr{Type: obj.TYPE_REG, Reg: REG_SP}
    		prologue.Spadj = int32(stacksize)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
Back to top