- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 661 for Deallocate (0.16 sec)
-
tensorflow/c/experimental/stream_executor/stream_executor_test_util.cc
TF_Status* status) {} void PopulateDefaultStreamExecutor(SP_StreamExecutor* se) { *se = {SP_STREAMEXECUTOR_STRUCT_SIZE}; se->allocate = Allocate; se->deallocate = Deallocate; se->host_memory_allocate = HostMemoryAllocate; se->host_memory_deallocate = HostMemoryDeallocate; se->get_allocator_stats = GetAllocatorStats; se->device_memory_usage = DeviceMemoryUsage;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 21 20:09:00 UTC 2023 - 8.7K bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/util/ports/AbstractAvailablePortAllocator.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 05 16:58:31 UTC 2022 - 3.1K bytes - Viewed (0) -
tensorflow/c/tf_buffer.h
// may also be held in a buffer. // // By default, TF_Buffer itself does not do any memory management of the // pointed-to block. If need be, users of this struct should specify how to // deallocate the block by setting the `data_deallocator` function pointer. typedef struct TF_Buffer { const void* data; size_t length; void (*data_deallocator)(void* data, size_t length); } TF_Buffer;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 27 21:07:00 UTC 2023 - 2K bytes - Viewed (0) -
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) -
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) -
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) -
tensorflow/c/experimental/stream_executor/stream_executor.h
// to 0. void (*allocate)(const SP_Device* device, uint64_t size, int64_t memory_space, SP_DeviceMemoryBase* mem); // Deallocate the device memory previously allocated via this interface. // Deallocation of a nullptr-representative value is permitted. void (*deallocate)(const SP_Device* device, SP_DeviceMemoryBase* memory);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 24 08:40:35 UTC 2022 - 21.6K bytes - Viewed (0) -
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) -
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) -
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)