Home
last modified time | relevance | path

Searched refs:VisibleDeviceCount (Results 1 – 25 of 28) sorted by relevance

12

/external/tensorflow/tensorflow/stream_executor/rocm/
Drocm_platform.cc45 for (int i = 0; i < VisibleDeviceCount(); i++) { in InspectNumaNodes()
79 for (int i = 0; i < VisibleDeviceCount(); i++) { in FirstExecutorForBus()
94 int ROCmPlatform::VisibleDeviceCount() const { in VisibleDeviceCount() function in stream_executor::gpu::ROCmPlatform
Drocm_platform.h63 int VisibleDeviceCount() const override;
/external/tensorflow/tensorflow/core/grappler/
Ddevices.cc46 int num_gpus = gpu_manager->VisibleDeviceCount(); in GetNumAvailableGPUs()
91 CHECK_LT(gpu_id, gpu_platform->VisibleDeviceCount()); in AvailableGPUMemory()
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_platform.cc83 for (int i = 0; i < VisibleDeviceCount(); i++) { in InspectNumaNodes()
117 for (int i = 0; i < VisibleDeviceCount(); i++) { in FirstExecutorForBus()
132 int CudaPlatform::VisibleDeviceCount() const { in VisibleDeviceCount() function in stream_executor::gpu::CudaPlatform
Dcuda_platform.h63 int VisibleDeviceCount() const override;
/external/tensorflow/tensorflow/compiler/jit/
Dxla_gpu_device.cc81 int device_count = platform.ValueOrDie()->VisibleDeviceCount(); in ListPhysicalDevices()
144 for (int i = 0; i < platform.ValueOrDie()->VisibleDeviceCount(); ++i) { in CreateDevices()
Dxla_tpu_device.cc316 int device_count = platform->VisibleDeviceCount(); in ListPhysicalDevices()
362 int device_count = platform->VisibleDeviceCount(); in CreateDevices()
/external/tensorflow/tensorflow/core/common_runtime/device/
Ddevice_id_utils.h55 const int visible_device_count = device_manager->VisibleDeviceCount(); in CheckValidTfDeviceId()
/external/tensorflow/tensorflow/stream_executor/host/
Dhost_platform.h50 int VisibleDeviceCount() const override;
Dhost_platform.cc38 int HostPlatform::VisibleDeviceCount() const { in VisibleDeviceCount() function in stream_executor::host::HostPlatform
/external/tensorflow/tensorflow/compiler/xla/pjrt/
Dinterpreter_device.cc35 if (platform->VisibleDeviceCount() != 1) { in GetInterpreterClient()
Dcpu_device.cc35 if (platform->VisibleDeviceCount() <= 0) { in GetCpuClient()
Dtpu_client.cc198 if (platform->VisibleDeviceCount() <= 0) { in GetTpuClient()
Dgpu_device.cc66 if (platform->VisibleDeviceCount() <= 0) { in GetGpuXlaClient()
/external/tensorflow/tensorflow/compiler/xla/service/interpreter/
Dplatform.h39 int VisibleDeviceCount() const override;
Dplatform.cc41 int XlaInterpreterPlatform::VisibleDeviceCount() const { return 1; } in VisibleDeviceCount() function in stream_executor::interpreter::XlaInterpreterPlatform
/external/tensorflow/tensorflow/stream_executor/
Dplatform.h124 virtual int VisibleDeviceCount() const = 0;
Dplatform.cc110 int device_count = VisibleDeviceCount(); in GetPeerAccessMap()
/external/tensorflow/tensorflow/stream_executor/tpu/
Dtpu_platform.h58 int VisibleDeviceCount() const override;
Dtpu_platform.cc77 int TpuPlatform::VisibleDeviceCount() const { in VisibleDeviceCount() function in tensorflow::tpu::TpuPlatform
/external/tensorflow/tensorflow/compiler/tf2tensorrt/
Dtensorrt_test.cc135 if (CHECK_NOTNULL(GPUMachineManager())->VisibleDeviceCount() <= 0) { in TEST()
/external/tensorflow/tensorflow/compiler/xla/service/
Dplatform_util.cc168 int device_count = platform->VisibleDeviceCount(); in GetStreamExecutors()
/external/tensorflow/tensorflow/c/experimental/stream_executor/
Dstream_executor_internal.h60 int VisibleDeviceCount() const override { in VisibleDeviceCount() function
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_device.cc788 visible_gpu_order->resize(gpu_manager->VisibleDeviceCount()); in ParseVisibleDeviceList()
805 platform_gpu_id >= gpu_manager->VisibleDeviceCount()) { in ParseVisibleDeviceList()
809 gpu_manager->VisibleDeviceCount()); in ParseVisibleDeviceList()
1091 int device_count = gpu_manager->VisibleDeviceCount(); in CacheDeviceIds()
1152 if (gpu_manager->VisibleDeviceCount() <= 0) { in CreateDevices()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_jit_compiled_cpu_function_test.cc305 int VisibleDeviceCount() const override { return 0; } in TEST() function in tensorflow::__anonde1592d50111::TEST::FakePlatform

12