- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for host_memory_deallocate (0.28 sec)
-
tensorflow/c/experimental/stream_executor/stream_executor.cc
TF_VALIDATE_NOT_NULL(SP_StreamExecutor, se, deallocate); TF_VALIDATE_NOT_NULL(SP_StreamExecutor, se, get_allocator_stats); TF_VALIDATE_NOT_NULL(SP_StreamExecutor, se, host_memory_allocate); TF_VALIDATE_NOT_NULL(SP_StreamExecutor, se, host_memory_deallocate); if (platform.supports_unified_memory) { TF_VALIDATE_NOT_NULL(SP_StreamExecutor, se, unified_memory_allocate);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jun 14 07:39:19 UTC 2024 - 27.1K bytes - Viewed (0) -
tensorflow/c/experimental/stream_executor/stream_executor_test.cc
TEST_F(StreamExecutorTest, HostMemoryAllocate) { static bool allocate_called = false; static bool deallocate_called = false; se_.host_memory_allocate = [](const SP_Device* const device, uint64_t size) { allocate_called = true; return malloc(size); }; se_.host_memory_deallocate = [](const SP_Device* const device, void* mem) { free(mem); deallocate_called = true; };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 19:54:04 UTC 2024 - 26.5K bytes - Viewed (0)