/external/tensorflow/tensorflow/stream_executor/ |
D | temporary_memory_manager.cc | 31 DeviceMemoryBase device_memory = it->first; in ForceDeallocateAll() local 32 stream_->parent()->Deallocate(&device_memory); in ForceDeallocateAll() 37 const DeviceMemoryBase& device_memory, uint64 generation, bool must_exist) { in MarkFinalized() argument 39 auto it = records_.find(device_memory); in MarkFinalized() 55 DeviceMemoryBase device_memory = it->first; in DeallocateFinalizedTemporaries() local 56 stream_->parent()->Deallocate(&device_memory); in DeallocateFinalizedTemporaries() 66 bool TemporaryMemoryManager::IsFinalized(const DeviceMemoryBase& device_memory, in IsFinalized() argument 69 auto it = records_.find(device_memory); in IsFinalized() 82 bool TemporaryMemoryManager::HasAllocated(const DeviceMemoryBase& device_memory, in HasAllocated() argument 85 auto it = records_.find(device_memory); in HasAllocated() [all …]
|
D | temporary_device_memory.h | 65 const DeviceMemoryBase& device_memory() const; 93 TemporaryDeviceMemoryBase(Stream* parent, DeviceMemoryBase device_memory, 119 const DeviceMemory<T>& device_memory() const { in device_memory() function 122 TemporaryDeviceMemoryBase::device_memory()); in device_memory()
|
D | BUILD | 77 "device_memory.h", 132 ":device_memory", 243 ":device_memory", 257 ":device_memory", 292 name = "device_memory", 293 hdrs = ["device_memory.h"], 302 ":device_memory", 319 "device_memory.h", 409 ":device_memory", 439 ":device_memory", [all …]
|
D | temporary_device_memory.cc | 34 const DeviceMemoryBase& TemporaryDeviceMemoryBase::device_memory() const { in device_memory() function in stream_executor::TemporaryDeviceMemoryBase 58 Stream* parent, DeviceMemoryBase device_memory, in TemporaryDeviceMemoryBase() argument 60 : device_memory_(device_memory), in TemporaryDeviceMemoryBase()
|
D | temporary_memory_manager.h | 77 void MarkFinalized(const DeviceMemoryBase& device_memory, uint64 generation, 91 bool IsFinalized(const DeviceMemoryBase& device_memory, 99 bool HasAllocated(const DeviceMemoryBase& device_memory,
|
D | scratch_allocator.cc | 36 return temporary_->device_memory(); in AllocateBytes()
|
/external/tensorflow/tensorflow/compiler/xla/pjrt/ |
D | tracked_device_buffer_test.cc | 37 se::OwningDeviceMemory device_memory, in MakeArray() 42 device_buffers.push_back(device_memory.Release()); in MakeArray() 61 ASSERT_EQ(a_buffer->device_memory().size(), 1); in TEST() 62 ASSERT_EQ(b_buffer->device_memory().size(), 1); in TEST() 63 ASSERT_EQ(c_buffer->device_memory().size(), 1); in TEST() 65 a_buffer->device_memory()[0], b_buffer->device_memory()[0], in TEST() 66 c_buffer->device_memory()[0]}; in TEST() 108 EXPECT_EQ(device_buffer->device_memory().size(), in TEST()
|
D | tracked_device_buffer.h | 168 absl::InlinedVector<se::DeviceMemoryBase, 1>& device_memory() { in device_memory() function 171 const absl::InlinedVector<se::DeviceMemoryBase, 1>& device_memory() const { in device_memory() function 208 absl::Span<se::DeviceMemoryBase const> device_memory,
|
D | tracked_device_buffer.cc | 165 absl::Span<se::DeviceMemoryBase const> device_memory, in TrackedDeviceBuffer() argument 170 device_memory_(device_memory.begin(), device_memory.end()), in TrackedDeviceBuffer()
|
D | BUILD | 86 "//tensorflow/stream_executor:device_memory", 106 "//tensorflow/stream_executor:device_memory", 252 "//tensorflow/stream_executor:device_memory",
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | allocation_tracker.cc | 207 se::DeviceMemoryBase device_memory, int device_ordinal) { in AddAllocationOrIncrementRefCount() argument 209 auto it = allocation_map.find(device_memory.opaque()); in AddAllocationOrIncrementRefCount() 211 allocation_map[device_memory.opaque()] = { in AddAllocationOrIncrementRefCount() 212 se::OwningDeviceMemory(device_memory, device_ordinal, in AddAllocationOrIncrementRefCount() 220 Status AllocationTracker::DecrementRefCount(se::DeviceMemoryBase device_memory, in DecrementRefCount() argument 223 auto it = allocation_map.find(device_memory.opaque()); in DecrementRefCount() 228 TF_RETURN_IF_ERROR(allocation.device_memory.Free()); in DecrementRefCount()
|
D | allocation_tracker.h | 80 se::OwningDeviceMemory device_memory; member 103 void AddAllocationOrIncrementRefCount(se::DeviceMemoryBase device_memory, 109 Status DecrementRefCount(se::DeviceMemoryBase device_memory,
|
D | transfer_manager.cc | 302 se::DeviceMemoryBase device_memory = device_buffer.buffer(index); in WriteTupleIndexTablesAsync() local 304 device_memory.size()); in WriteTupleIndexTablesAsync() 315 &device_memory); in WriteTupleIndexTablesAsync() 328 se::DeviceMemoryBase device_memory = device_buffer.buffer({}); in WriteRootTupleIndexTable() local 330 device_memory.size()); in WriteRootTupleIndexTable() 338 stream, elements, device_buffer.on_device_shape(), &device_memory); in WriteRootTupleIndexTable() 347 se::DeviceMemoryBase device_memory = in WriteRootTupleIndexTable() local 350 device_memory.size()); in WriteRootTupleIndexTable() 358 &device_memory); in WriteRootTupleIndexTable()
|
D | generic_transfer_manager.cc | 111 se::DeviceMemoryBase device_memory = device_buffer.buffer(index); in TransferLiteralToDeviceAsync() local 114 device_memory.size()); in TransferLiteralToDeviceAsync() 125 &device_memory); in TransferLiteralToDeviceAsync() 134 &device_memory)); in TransferLiteralToDeviceAsync()
|
/external/tensorflow/tensorflow/compiler/tf2tensorrt/utils/ |
D | trt_engine_utils.cc | 51 void* device_memory = nullptr; in Create() local 62 device_memory = allocator->allocate(device_memory_size, in Create() 64 if (device_memory == nullptr) { in Create() 69 execution_context->setDeviceMemory(device_memory); in Create() 71 return ExecutionContext(allocator, device_memory, execution_context); in Create()
|
D | trt_engine_utils.h | 71 ExecutionContext(TRTBaseAllocator* allocator, void* device_memory, in ExecutionContext() argument 74 device_memory_(device_memory), in ExecutionContext()
|
/external/tensorflow/tensorflow/stream_executor/tpu/ |
D | tpu_executable_interface.cc | 117 MaybeOwningDeviceMemory* device_memory = in AllocateOutputMemoryWithInputReuse() local 119 if (auto owning = device_memory->Release()) { in AllocateOutputMemoryWithInputReuse() 125 *device_memory = device_memory_base; in AllocateOutputMemoryWithInputReuse()
|
/external/crosvm/rutabaga_gfx/src/rutabaga_gralloc/ |
D | vulkano_gralloc.rs | 350 let device_memory = in allocate_memory() localVariable 356 let descriptor = device_memory.export_fd(handle_type)?.into(); in allocate_memory() 392 let device_memory = in import_and_map() localVariable 396 let mapping = DeviceMemoryMapping::new(device.clone(), device_memory.clone(), 0, size, 0)?; in import_and_map()
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | buffer_donation_test.cc | 112 [&](const ShapeIndex& index, MaybeOwningDeviceMemory* device_memory) { in RunAndCheck() argument 114 *device_memory = se::OwningDeviceMemory( in RunAndCheck() 118 *device_memory = input_buffers.element(index); in RunAndCheck()
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | infeed_manager.h | 57 se::DeviceMemoryBase* device_memory() { return device_memory_.ptr(); } in device_memory() function
|
D | infeed_thunk.cc | 58 stream.ThenMemcpy(&dest_address, *buffer.device_memory(), buffer.length()); in ExecuteOnStream()
|
D | gpu_transfer_manager.cc | 109 stream->ThenMemcpy(buffer.device_memory(), source, size); in TransferBufferToInfeedInternal()
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | cpu_transfer_manager.cc | 55 se::DeviceMemoryBase* device_memory() { return &device_memory_; } in device_memory() function in xla::__anon31ee37eb0111::CpuInfeedBuffer 169 /*host_src=*/source, /*size=*/size, queued_buffer->device_memory()); in TransferBufferToInfeedInternal()
|
/external/tensorflow/tensorflow/stream_executor/rocm/ |
D | rocm_blas.h | 134 *device_memory,
|
/external/perfetto/protos/perfetto/trace/gpu/ |
D | vulkan_memory_event.proto | 99 optional fixed64 device_memory = 17; field
|