Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 704 for Deallocate (0.15 sec)

  1. tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_executor.cc

        if (auto* error = results[i]->GetErrorIfPresent())
          LOG(FATAL) << "Failed to execute a function: " << error->message();
        ret_values.push_back(results[i]->get<tfrt_stub::FallbackTensor>().tensor());
      }
    
      // Deallocate arguments.
      for (auto* argument : exec_arguments) argument->DropRef();
      return ret_values;
    }
    
    // Run TFRT fallback initialization function to instantiate all fallback
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 00:18:59 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/stream_executor/stream_executor_test.cc

      std::unique_ptr<CPlatform> cplatform_;
    };
    
    TEST_F(StreamExecutorTest, Allocate) {
      se_.allocate = [](const SP_Device* const device, uint64_t size,
                        int64_t memory_space, SP_DeviceMemoryBase* const mem) {
        mem->struct_size = SP_DEVICE_MEMORY_BASE_STRUCT_SIZE;
        mem->opaque = malloc(size);
        mem->size = size;
      };
      se_.deallocate = [](const SP_Device* const device,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 19:54:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  3. tensorflow/c/kernels.h

        TF_OpKernelConstruction* ctx);
    
    // Allocates Tensor for output at given index. Caller takes ownership of
    // returned TF_Tensor and should deallocate it using TF_DeleteTensor(tensor).
    //
    // This function should be used to allocate outputs inside kernel
    // compute function.
    TF_CAPI_EXPORT TF_Tensor* TF_AllocateOutput(TF_OpKernelContext* context,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 09 22:46:22 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/resource/v1alpha2/generated.proto

      // +listType=map
      // +listMapKey=uid
      // +optional
      repeated ResourceClaimConsumerReference reservedFor = 3;
    
      // DeallocationRequested indicates that a ResourceClaim is to be
      // deallocated.
      //
      // The driver then must deallocate this claim and reset the field
      // together with clearing the Allocation field.
      //
      // While DeallocationRequested is set, no new consumers may be added to
      // ReservedFor.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go

    			clearAllocation := state.informationsForClaim[index].structuredParameters
    
    			// Before we tell a driver to deallocate a claim, we
    			// have to stop telling it to allocate. Otherwise,
    			// depending on timing, it will deallocate the claim,
    			// see a PodSchedulingContext with selected node, and
    			// allocate again for that same node.
    			if !clearAllocation &&
    				state.podSchedulingState.schedulingCtx != nil &&
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:22:37 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  6. pkg/controller/resourceclaim/controller.go

    		// changed in the meantime.
    		claim := claim.DeepCopy()
    		claim.Status.ReservedFor = valid
    
    		// When a ResourceClaim uses delayed allocation, then it makes sense to
    		// deallocate the claim as soon as the last consumer stops using
    		// it. This ensures that the claim can be allocated again as needed by
    		// some future consumer instead of trying to schedule that consumer
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  7. pkg/apis/resource/types.go

    	// the future, but not reduced.
    	// +optional
    	ReservedFor []ResourceClaimConsumerReference
    
    	// DeallocationRequested indicates that a ResourceClaim is to be
    	// deallocated.
    	//
    	// The driver then must deallocate this claim and reset the field
    	// together with clearing the Allocation field.
    	//
    	// While DeallocationRequested is set, no new consumers may be added to
    	// ReservedFor.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 14 17:07:36 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/resource/v1alpha2/types_swagger_doc_generated.go

    	"deallocationRequested": "DeallocationRequested indicates that a ResourceClaim is to be deallocated.\n\nThe driver then must deallocate this claim and reset the field together with clearing the Allocation field.\n\nWhile DeallocationRequested is set, no new consumers may be added to ReservedFor.",
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 14 17:07:36 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/resource/v1alpha2/generated.proto

      // +patchMergeKey=uid
      // +optional
      repeated ResourceClaimConsumerReference reservedFor = 3;
    
      // DeallocationRequested indicates that a ResourceClaim is to be
      // deallocated.
      //
      // The driver then must deallocate this claim and reset the field
      // together with clearing the Allocation field.
      //
      // While DeallocationRequested is set, no new consumers may be added to
      // ReservedFor.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 22:07:50 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/regalloc.go

    //
    // Allocation occurs normally until we reach (3) and we realize we have
    // a use of v and it isn't in any register. At that point, we allocate
    // a spill (a StoreReg) for v. We can't determine the correct place for
    // the spill at this point, so we allocate the spill as blockless initially.
    // The restore is then generated to load v back into a register so it can
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
Back to top