MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / UseGpuDeviceInfo

Method UseGpuDeviceInfo

tensorflow/compiler/jit/xla_device.cc:409–413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

407}
408
409Status XlaDevice::UseGpuDeviceInfo() {
410 mutex_lock lock(mu_);
411 use_gpu_device_info_ = true;
412 return GetDeviceContextLocked().status();
413}
414
415Status XlaDevice::TryGetDeviceContext(DeviceContext** out_context) {
416 mutex_lock lock(mu_);

Callers 2

CreateDevicesMethod · 0.80
CreateDevicesMethod · 0.80

Calls 1

statusMethod · 0.45

Tested by

no test coverage detected