Home
last modified time | relevance | path

Searched refs:GPUProcessState (Results 1 – 11 of 11) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_process_state.cc59 /*static*/ GPUProcessState* GPUProcessState::singleton(GPUProcessState* ps) { in singleton()
60 static GPUProcessState* instance = ps ? ps : new GPUProcessState; in singleton()
66 GPUProcessState::GPUProcessState() : gpu_device_enabled_(false) { in GPUProcessState() function in tensorflow::GPUProcessState
70 int GPUProcessState::BusIdForGPU(TfGpuId tf_gpu_id) { in BusIdForGPU()
80 Allocator* GPUProcessState::GetGPUAllocator(const GPUOptions& options, in GetGPUAllocator()
164 SharedCounter* GPUProcessState::GPUAllocatorCounter(TfGpuId tf_gpu_id) { in GPUAllocatorCounter()
180 Allocator* GPUProcessState::GetGpuHostAllocator(int numa_node) { in GetGpuHostAllocator()
276 void GPUProcessState::AddGPUAllocVisitor(int bus_id, in AddGPUAllocVisitor()
291 void GPUProcessState::AddGpuHostAllocVisitor( in AddGpuHostAllocVisitor()
305 void GPUProcessState::AddGpuHostFreeVisitor( in AddGpuHostFreeVisitor()
[all …]
Dgpu_process_state.h40 class GPUProcessState {
54 static GPUProcessState* singleton(GPUProcessState* ps = nullptr);
118 GPUProcessState();
119 virtual ~GPUProcessState() {} in ~GPUProcessState()
131 static GPUProcessState* instance_;
Dgpu_device_factory.cc47 GPUProcessState* ps = GPUProcessState::singleton(); in GetAllocator()
95 GPUProcessState* ps = GPUProcessState::singleton(); in GetAllocator()
Dgpu_device.cc313 GPUProcessState::singleton()->EnableGPUDevice(); in BaseGPUDevice()
325 GPUProcessState::singleton()->GPUAllocatorCounter(tf_gpu_id); in BaseGPUDevice()
1198 GPUProcessState* process_state = GPUProcessState::singleton(); in CreateGPUDevice()
Dgpu_device_test.cc65 void TearDown() override { GPUProcessState::singleton()->TestOnlyReset(); } in TearDown()
Dgpu_util.cc153 alloc = GPUProcessState::singleton()->GetGpuHostAllocator(0); in SetProtoFromGPU()
/external/tensorflow/tensorflow/contrib/verbs/
Drdma_mgr.cc280 GPUProcessState::singleton()->AddGpuHostAllocVisitor(0, alloc_visitor); in RegMemVisitors()
281 GPUProcessState::singleton()->AddGpuHostFreeVisitor(0, free_visitor); in RegMemVisitors()
298 GPUProcessState::singleton()->AddGPUAllocVisitor(bus_id, in RegMemVisitors()
Drdma.cc1089 Allocator* alloc = GPUProcessState::singleton()->GetGpuHostAllocator(0); in RecvHandler()
1546 new Tensor(GPUProcessState::singleton()->GetGpuHostAllocator(0), in AllocateTensors()
/external/tensorflow/tensorflow/core/common_runtime/
Dprocess_state.h82 friend class GPUProcessState; variable
/external/tensorflow/tensorflow/contrib/gdr/
Dgdr_memory_manager.cc253 GPUProcessState::singleton()->AddGpuHostAllocVisitor(numa_idx, in Init()
255 GPUProcessState::singleton()->AddGpuHostFreeVisitor(numa_idx, free_visitor); in Init()
264 GPUProcessState::singleton()->AddGPUAllocVisitor(numa_node_, in Init()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dconvert_graph.cc749 dev_allocator = GPUProcessState::singleton()->GetGPUAllocator( in GetDeviceAndAllocator()