Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_id_manager_test.cc25 PlatformGpuId TfToPlatformGpuId(TfGpuId tf) { in TfToPlatformGpuId() function
27 TF_CHECK_OK(GpuIdManager::TfToPlatformGpuId(tf, &platform_gpu_id)); in TfToPlatformGpuId()
35 EXPECT_EQ(value_0, TfToPlatformGpuId(key_0)); in TEST()
39 EXPECT_EQ(value_0, TfToPlatformGpuId(key_0)); in TEST()
45 EXPECT_EQ(value_1, TfToPlatformGpuId(key_1)); in TEST()
50 EXPECT_EQ(value_1, TfToPlatformGpuId(key_2)); in TEST()
56 ASSERT_FALSE(GpuIdManager::TfToPlatformGpuId(TfGpuId(100), &value_0).ok()); in TEST()
Dgpu_id_utils.h45 GpuIdManager::TfToPlatformGpuId(tf_gpu_id, &platform_gpu_id)); in ExecutorForTfGpuId()
52 TF_CHECK_OK(GpuIdManager::TfToPlatformGpuId(tf_gpu_id, &platform_gpu_id)); in CheckValidTfGpuId()
Dgpu_id_manager.h33 static Status TfToPlatformGpuId(TfGpuId tf_gpu_id,
Dgpu_id_manager.cc91 Status GpuIdManager::TfToPlatformGpuId(TfGpuId tf_gpu_id, in TfToPlatformGpuId() function in tensorflow::GpuIdManager
Dgpu_device.cc134 TF_CHECK_OK(GpuIdManager::TfToPlatformGpuId(tf_gpu_id, &platform_gpu_id)); in Reinitialize()
400 GpuIdManager::TfToPlatformGpuId(tf_gpu_id_, &platform_gpu_id)); in Init()
1192 GpuIdManager::TfToPlatformGpuId(tf_gpu_id, &platform_gpu_id)); in CreateGPUDevice()
1286 GpuIdManager::TfToPlatformGpuId(tf_gpu_id, &platform_gpu_id)); in GetDeviceLocalities()
1317 GpuIdManager::TfToPlatformGpuId(tf_gpu_dst, &platform_gpu_dst)); in GetDeviceLocalities()
1334 GpuIdManager::TfToPlatformGpuId(tf_gpu_dst, &platform_gpu_dst)); in GetDeviceLocalities()
Dgpu_device.h104 TF_CHECK_OK(GpuIdManager::TfToPlatformGpuId(tf_gpu_id_, &platform_gpu_id)); in gpu_id()
Dgpu_process_state.cc102 TF_CHECK_OK(GpuIdManager::TfToPlatformGpuId(tf_gpu_id, &platform_gpu_id)); in GetGPUAllocator()
/external/tensorflow/tensorflow/core/grappler/clusters/
Dutils.cc161 Status s = GpuIdManager::TfToPlatformGpuId(tf_gpu_id, &platform_gpu_id); in GetDeviceInfo()
Dsingle_machine.cc97 Status s = GpuIdManager::TfToPlatformGpuId(tf_gpu_id, &platform_gpu_id); in Provision()
/external/tensorflow/tensorflow/core/grappler/costs/
Dutils.cc245 Status s = GpuIdManager::TfToPlatformGpuId(tf_gpu_id, &platform_gpu_id); in GetDeviceInfo()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dconvert_graph.cc740 Status s = GpuIdManager::TfToPlatformGpuId(tf_gpu_id, &platform_gpu_id); in GetDeviceAndAllocator()