Home
last modified time | relevance | path

Searched refs:device_ordinal_ (Results 1 – 24 of 24) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/
Downing_device_memory.h44 OwningDeviceMemory() : device_ordinal_(-1), allocator_(nullptr) {} in OwningDeviceMemory()
48 : mem_(mem), device_ordinal_(device_ordinal), allocator_(allocator) { in OwningDeviceMemory()
54 device_ordinal_(other.device_ordinal_), in OwningDeviceMemory()
65 device_ordinal_ = other.device_ordinal_;
90 int device_ordinal() const { return device_ordinal_; } in device_ordinal()
125 int device_ordinal_; variable
Dshaped_buffer.cc40 device_ordinal_(device_ordinal), in ShapedBuffer()
47 device_ordinal_(s.device_ordinal_), in ShapedBuffer()
59 device_ordinal_ = s.device_ordinal_; in operator =()
Dshaped_buffer.h69 int device_ordinal() const { return device_ordinal_; } in device_ordinal()
116 int device_ordinal_; variable
Downing_device_memory.cc26 auto status = allocator_->Deallocate(device_ordinal_, mem_); in Free()
/external/tensorflow/tensorflow/compiler/xla/client/
Dexecutable_build_options.cc37 device_ordinal_ = device_ordinal; in set_device_ordinal()
41 int ExecutableBuildOptions::device_ordinal() const { return device_ordinal_; } in device_ordinal()
75 device_ordinal_, result_layout, num_replicas_); in ToString()
Dexecutable_build_options.h76 int device_ordinal_ = -1;
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dbuffer_allocations.h66 int device_ordinal() const { return device_ordinal_; } in device_ordinal()
90 device_ordinal_(device_ordinal), in BufferAllocations()
106 int device_ordinal_; variable
Dscratch_allocator.h33 : device_ordinal_(device_ordinal), memory_allocator_(memory_allocator) {} in ScratchAllocator()
52 const int device_ordinal_;
Dscratch_allocator.cc33 memory_allocator_->Allocate(device_ordinal_, byte_size, in AllocateBytes()
Dfft_thunk.cc33 : device_ordinal_(device_ordinal), memory_allocator_(memory_allocator) {} in FftScratchAllocator()
52 memory_allocator_->Allocate(device_ordinal_, byte_size, in AllocateBytes()
Dfft_thunk.h51 const int device_ordinal_;
Dbuffer_allocations.cc143 memory_allocator_->Deallocate(device_ordinal_, buffer_address); in TearDown()
/external/tensorflow/tensorflow/compiler/xrt/
Dxrt_state.cc137 device_ordinal_(device_ordinal), in XRTBufferAllocation()
141 GetAllocStats()->ReportAlloc(device_ordinal_, allocation_.size()); in XRTBufferAllocation()
142 LOG(INFO) << "XRT Allocation Stats: device=" << device_ordinal_ in XRTBufferAllocation()
149 GetAllocStats()->ReportFree(device_ordinal_, allocation_.size()); in ~XRTBufferAllocation()
152 Status s = allocator_->Deallocate(device_ordinal_, allocation_); in ~XRTBufferAllocation()
171 : device_ordinal_(device_ordinal), in XRTTupleAllocation()
266 int XRTTupleAllocation::device_ordinal() { return device_ordinal_; } in device_ordinal()
511 allocator_->platform(), device_ordinal_); in ToShapedBuffer()
549 buffer.second->allocation(), device_ordinal_, allocator_); in ToDeviceMemoryTree()
Dxrt_state.h71 int device_ordinal_; variable
217 int device_ordinal_; variable
/external/tensorflow/tensorflow/compiler/xla/
Dexecutable_run_options.cc22 device_ordinal_ = device_ordinal; in set_device_ordinal()
26 int ExecutableRunOptions::device_ordinal() const { return device_ordinal_; } in device_ordinal()
Dexecutable_run_options.h85 int device_ordinal_ = -1; variable
/external/tensorflow/tensorflow/compiler/jit/
Dxla_device.cc144 : device_ordinal_(device_ordinal), in Metadata()
151 int XlaDevice::Metadata::device_ordinal() const { return device_ordinal_; } in device_ordinal()
201 device_ordinal_(options.device_ordinal), in XlaDevice()
253 backend, device_ordinal_); in GetAllocatorLocked()
269 TF_ASSIGN_OR_RETURN(ptr, backend->BorrowStream(device_ordinal_)); in EnsureStreamOkLocked()
Dxla_device.h80 const int device_ordinal_;
200 const int device_ordinal_; variable
/external/tensorflow/tensorflow/stream_executor/rocm/
Drocm_gpu_executor.cc145 device_ordinal_ = device_ordinal; in Init()
152 status = GpuDriver::GetDevice(device_ordinal_, &device_); in Init()
157 status = GpuDriver::CreateContext(device_ordinal_, device_, device_options, in Init()
896 int numa_node = TryToReadNumaNode(pci_bus_id, device_ordinal_); in PopulateDeviceDescription()
901 if (GpuDriver::GetDeviceProperties(&prop, device_ordinal_)) { in PopulateDeviceDescription()
Drocm_driver.cc56 GpuContext(const int v) : device_ordinal_(v) {} in GpuContext()
58 int device_ordinal() const { return device_ordinal_; } in device_ordinal()
67 const int device_ordinal_; member in stream_executor::gpu::GpuContext
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_gpu_executor.cc132 device_ordinal_ = device_ordinal; in Init()
139 status = GpuDriver::GetDevice(device_ordinal_, &device_); in Init()
144 status = GpuDriver::CreateContext(device_ordinal_, device_, device_options, in Init()
1049 int numa_node = TryToReadNumaNode(pci_bus_id, device_ordinal_); in PopulateDeviceDescription()
1090 CU_DEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE, device_ordinal_); in PopulateDeviceDescription()
1092 CU_DEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH, device_ordinal_); in PopulateDeviceDescription()
/external/tensorflow/tensorflow/stream_executor/gpu/
Dgpu_executor.h51 device_ordinal_(0), in GpuExecutor()
327 int device_ordinal_; variable
/external/tensorflow/tensorflow/stream_executor/
Dstream_executor_pimpl.cc163 device_ordinal_(-1), in StreamExecutor()
185 device_ordinal_(-1), in StreamExecutor()
226 device_ordinal_ = device_ordinal; in Init()
505 << device_ordinal_ in Allocate()
Dstream_executor_pimpl.h434 int device_ordinal() const { return device_ordinal_; } in device_ordinal()
686 int device_ordinal_; variable