Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 351 for Deallocate (0.2 sec)

  1. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go

    			want: want{
    				prefilter: result{
    					status: framework.NewStatus(framework.UnschedulableAndUnresolvable, `resourceclaim must be reallocated`),
    				},
    				postfilter: result{
    					status: framework.NewStatus(framework.Unschedulable, `no new claims to deallocate`),
    				},
    			},
    		},
    		"delayed-allocation-missing-class": {
    			pod:    podWithClaimName,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/stream_executor/stream_executor.cc

        }
        return DeviceMemoryBaseFromC(mem);
      }
      DeviceMemoryBase Allocate(uint64 size) {
        return Allocate(size, /*memory_space=*/0);
      }
    
      void Deallocate(DeviceMemoryBase* mem) override {
        SP_DeviceMemoryBase device_memory_base = DeviceMemoryBaseToC(mem);
        stream_executor_->deallocate(&device_, &device_memory_base);
      }
    
      absl::StatusOr<std::unique_ptr<MemoryAllocation>> HostMemoryAllocate(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  3. pkg/scheduler/apis/config/v1/default_plugins.go

    		// This plugin should come before DefaultPreemption because if
    		// there is a problem with a Pod and PostFilter gets called to
    		// resolve the problem, it is better to first deallocate an
    		// idle ResourceClaim than it is to evict some Pod that might
    		// be doing useful work.
    		for i := range config.MultiPoint.Enabled {
    			if config.MultiPoint.Enabled[i].Name == names.DefaultPreemption {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 06:27:01 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top