Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 114 for set_sp (0.17 sec)

  1. tensorflow/compiler/jit/tests/device_compiler_test_helper.cc

        absl::Span<const std::string> inputs,
        absl::Span<
            const std::pair<std::string, FunctionDefHelper::AttrValueWrapper>>
            attrs) {
      NodeDef node;
      node.set_name(std::string(name));
      node.set_op(std::string(op));
      for (const auto& input : inputs) node.add_input(input);
      for (const auto& attr : attrs)
        node.mutable_attr()->insert({attr.first, attr.second.proto});
      return node;
    }
    
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 08:24:16 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/decompose_optionals.cc

        for (auto arg : f.getBody().front().getArguments()) {
          argument_types.push_back(arg.getType());
        }
        std::vector<Type> return_types;
        for (auto ret_op : ret->getOperands()) {
          return_types.push_back(ret_op.getType());
        }
        auto newType =
            FunctionType::get(rewriter.getContext(), argument_types, return_types);
        if (f.getFunctionType() == newType) {
          return failure();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. src/runtime/os3_plan9.go

    		// sigpanic and we won't get to see who faulted).
    		if pc != 0 {
    			if usesLR {
    				c.setlr(pc)
    			} else {
    				sp -= goarch.PtrSize
    				*(*uintptr)(unsafe.Pointer(sp)) = pc
    				c.setsp(sp)
    			}
    		}
    		if usesLR {
    			c.setpc(abi.FuncPCABI0(sigpanictramp))
    		} else {
    			c.setpc(abi.FuncPCABI0(sigpanic0))
    		}
    		return _NCONT
    	}
    	if flags&_SigNotify != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. tensorflow/c/kernels/summary_op_test.cc

    }
    
    void TestScalarSummaryOp(Tensor* tags, Tensor* values, string expected_output,
                             error::Code expected_code) {
      // Initialize node used to fetch OpKernel
      Status status;
      NodeDef def;
      def.set_op("ScalarSummary");
    
      def.set_device(DEVICE_CPU);
    
      AttrValue valuesTypeAttr;
      SetAttrValue(values->dtype(), &valuesTypeAttr);
      (*def.mutable_attr())["T"] = valuesTypeAttr;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 18 15:10:51 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/x86/asm_test.go

    		{&obj.Addr{Type: obj.TYPE_ADDR, Name: obj.NAME_EXTERN, Sym: &obj.LSym{}}, Yi32},
    
    		{immAddr(-200), Yi32},
    
    		{regAddr(REG_SP), Yrl32},
    		{regAddr(REG_SI), Yrl32},
    		{regAddr(REG_DI), Yrl32},
    	}
    
    	// Add tests that are arch-independent for all sets.
    	oclassTestsAMD64 = append(oclassTestsAMD64, oclassTestsCommon...)
    	oclassTests386 = append(oclassTests386, oclassTestsCommon...)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 28 19:39:51 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/node_matchers.h

        return control_deps_;
      }
      const std::optional<AttrKeyValuePair>& attr() const { return attr_; }
    
      void set_name(string name) {
        DCHECK(IsEmpty());
        name_ = std::move(name);
      }
    
      void set_op(string op) {
        DCHECK(IsEmpty());
        op_ = std::move(op);
      }
    
      void set_assigned_device(string assigned_device) {
        DCHECK(IsEmpty());
        assigned_device_ = std::move(assigned_device);
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  7. src/runtime/netpoll_windows.go

    				continue
    			}
    			// Entry from internal/poll.
    			mode := op.mode
    			if mode != 'r' && mode != 'w' {
    				println("runtime: GetQueuedCompletionStatusEx returned net_op with invalid mode=", mode)
    				throw("runtime: netpoll failed")
    			}
    			delta += netpollready(&toRun, op.pd, mode)
    		case netpollSourceBreak:
    			netpollWakeSig.Store(0)
    			if delay == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/x86/obj6.go

    		p.As = APUSHQ
    		p.From.Type = obj.TYPE_REG
    		p.From.Reg = REG_BP
    
    		// Move current frame to BP
    		p = obj.Appendp(p, newprog)
    
    		p.As = AMOVQ
    		p.From.Type = obj.TYPE_REG
    		p.From.Reg = REG_SP
    		p.To.Type = obj.TYPE_REG
    		p.To.Reg = REG_BP
    	}
    
    	if autoffset%int32(ctxt.Arch.RegSize) != 0 {
    		ctxt.Diag("unaligned stack size %d", autoffset)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:36:45 UTC 2023
    - 40.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/build_xla_ops_pass_test.cc

                                 const string& node_name, int num_constant_args,
                                 int num_resource_args, Node** result) {
      NodeDef call_node;
      call_node.set_name(node_name);
      call_node.set_op(callee_name);
      AddNodeAttr(kXlaCompiledKernelAttr, true, &call_node);
      AddNodeAttr(kXlaNumConstantArgsAttr, num_constant_args, &call_node);
      AddNodeAttr(kXlaNumResourceArgsAttr, num_resource_args, &call_node);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/x86/ssa.go

    		r := v.Args[0].Reg()
    		i := v.Args[1].Reg()
    		p := s.Prog(x86.ALEAL)
    		switch v.Op {
    		case ssa.Op386LEAL1:
    			p.From.Scale = 1
    			if i == x86.REG_SP {
    				r, i = i, r
    			}
    		case ssa.Op386LEAL2:
    			p.From.Scale = 2
    		case ssa.Op386LEAL4:
    			p.From.Scale = 4
    		case ssa.Op386LEAL8:
    			p.From.Scale = 8
    		}
    		p.From.Type = obj.TYPE_MEM
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 01:26:58 UTC 2023
    - 26.7K bytes
    - Viewed (0)
Back to top