Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,997 for Reserve (0.13 sec)

  1. tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc

        }
      } else if (!arg_def.type_list_attr().empty()) {
        // TODO(aminim): handle ref variable.
        SmallVector<Attribute, 8> types;
        types.reserve(inputs.size());
        for (AbstractTensorHandle* input : inputs)
          types.push_back(TypeAttr::get(cast<MlirTensor>(input)->getElementType()));
        attrs_[arg_def.type_list_attr()] = ArrayAttr::get(GetContext(), types);
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  2. tensorflow/c/kernels_experimental.cc

      auto locks = std::make_unique<std::vector<tensorflow::mutex_lock>>();
      auto shared_locks =
          std::make_unique<std::vector<tensorflow::tf_shared_lock>>();
      locks->reserve(acquire_order.size());
    
      for (auto acquire : acquire_order) {
        tensorflow::mutex* mu = mutexes[acquire];
        if (mu != nullptr) {
          if (do_lock) {
            locks->emplace_back(*mu);
          } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:12:29 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  3. src/runtime/sys_darwin_arm64.s

    	MOVD	g_m(g), R11
    	MOVD	m_gsignal(R11), R5
    	MOVD	(g_stack+stack_hi)(R5), R6
    
    nog:
    	// Restore arguments.
    	MOVW	(8*1)(RSP), R0
    	MOVD	(8*2)(RSP), R1
    	MOVD	(8*3)(RSP), R2
    
    	// Reserve space for args and the stack pointer on the
    	// gsignal stack.
    	SUB	$48, R6
    	// Save stack pointer.
    	MOVD	RSP, R4
    	MOVD	R4, (8*4)(R6)
    	// Switch to gsignal stack.
    	MOVD	R6, RSP
    
    	// Save arguments.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:59 UTC 2023
    - 18.3K bytes
    - Viewed (0)
  4. src/runtime/sys_linux_ppc64x.s

    	MOVD    R12, CTR                // R12 should contain the function address
    	MOVD    R1, R15                 // Save R1
    	MOVD    R2, 24(R1)              // Save R2
    	SUB     $48, R1                 // reserve 32 (frame) + 16 bytes for sp-8 where fp may be saved.
    	RLDICR  $0, R1, $59, R1         // Align to 16 bytes for C code
    	BL      (CTR)
    	XOR     R0, R0, R0              // Clear R0 as Go expects
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  5. src/runtime/export_test.go

    			return
    		}
    	}
    	hint.next = nil
    }
    
    // MapNextArenaHint reserves a page at the next arena growth hint,
    // preventing the arena from growing there, and returns the range of
    // addresses that are no longer viable.
    //
    // This may fail to reserve memory. If it fails, it still returns the
    // address range it attempted to reserve.
    func MapNextArenaHint() (start, end uintptr, ok bool) {
    	hint := mheap_.arenaHints
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  6. cluster/gce/config-test.sh

      if [[ "${CREATE_CUSTOM_NETWORK}" = true ]]; then
        IP_ALIAS_SUBNETWORK=${SUBNETWORK}
      fi
      export IP_ALIAS_SIZE
      export IP_ALIAS_SUBNETWORK
      # Reserve the services IP space to avoid being allocated for other GCP resources.
      export SERVICE_CLUSTER_IP_SUBNETWORK=${KUBE_GCE_SERVICE_CLUSTER_IP_SUBNETWORK:-${INSTANCE_PREFIX}-subnet-services}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 17:20:24 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_experimental.cc

                                                   int* num_handles,
                                                   TF_Status* status) {
      std::vector<tensorflow::TensorHandle*> tensor_handles;
      tensor_handles.reserve(*num_handles);
      for (int i = 0; i < *num_handles; ++i) {
        tensorflow::ImmediateExecutionTensorHandle* unwrapped_handle =
            tensorflow::unwrap(handles[i]);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 23:52:39 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  8. src/runtime/sys_darwin_amd64.s

    	// Transition from C ABI to Go ABI.
    	PUSH_REGS_HOST_TO_ABI0()
    
    	// Set up ABIInternal environment: g in R14, cleared X15.
    	get_tls(R12)
    	MOVQ	g(R12), R14
    	PXOR	X15, X15
    
    	// Reserve space for spill slots.
    	NOP	SP		// disable vet stack checking
    	ADJSP   $24
    
    	// Call into the Go signal handler
    	MOVQ	DI, AX	// sig
    	MOVQ	SI, BX	// info
    	MOVQ	DX, CX	// ctx
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:59 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  9. src/runtime/sys_openbsd_arm.s

    	MOVW	ctx+12(FP), R2
    	MOVW	fn+0(FP), R3
    	MOVW	R13, R9
    	SUB	$24, R13
    	BIC	$0x7, R13 // alignment for ELF ABI
    	BL	(R3)
    	MOVW	R9, R13
    	RET
    
    TEXT runtimeĀ·sigtramp(SB),NOSPLIT|TOPFRAME,$0
    	// Reserve space for callee-save registers and arguments.
    	MOVM.DB.W [R4-R11], (R13)
    	SUB	$16, R13
    
    	// If called from an external code context, g will not be set.
    	// Save R0, since runtimeĀ·load_g will clobber it.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_to_mhlo_int_test.cc

          absl::Span<const xla::Literal* const> arguments) {
        // Process and buffer arguments.
        std::vector<std::unique_ptr<xla::PjRtBuffer>> buffers;
        std::vector<xla::PjRtBuffer*> buffer_ptrs;
        buffers.reserve(arguments.size());
        for (const xla::Literal* argument : arguments) {
          TF_ASSIGN_OR_RETURN(
              auto buffer, pjrt_client_->BufferFromHostLiteral(*argument, device_));
          buffer_ptrs.push_back(buffer.get());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 03 01:03:21 UTC 2024
    - 35.8K bytes
    - Viewed (0)
Back to top