Home
last modified time | relevance | path

Searched refs:gpu_count (Results 1 – 8 of 8) sorted by relevance

/external/llvm-project/openmp/libomptarget/plugins/amdgpu/impl/
Dsystem.cpp524 int gpu_count = g_atl_machine.processorCount<ATLGPUProcessor>(); in init_hsa() local
525 KernelInfoTable.resize(gpu_count); in init_hsa()
526 SymbolInfoTable.resize(gpu_count); in init_hsa()
541 int gpu_count = g_atl_machine.processorCount<ATLGPUProcessor>(); in init_tasks() local
542 for (int gpu = 0; gpu < gpu_count; gpu++) { in init_tasks()
/external/tensorflow/tensorflow/python/framework/
Dconfig_test.py761 gpu_count = len(gpus)
769 gpu_options=config_pb2.GPUOptions(visible_device_list=str(gpu_count)))
777 gpu_options=config_pb2.GPUOptions(visible_device_list=str(gpu_count-1)))
781 str(gpu_count-1))
/external/angle/src/tests/test_utils/third_party/
Dvulkan_command_buffer_utils.cpp265 VkResult init_enumerate_device(struct sample_info &info, uint32_t gpu_count) in init_enumerate_device() argument
267 VkResult res = vkEnumeratePhysicalDevices(info.inst, &gpu_count, NULL); in init_enumerate_device()
268 ASSERT(gpu_count); in init_enumerate_device()
269 info.gpus.resize(gpu_count); in init_enumerate_device()
271 res = vkEnumeratePhysicalDevices(info.inst, &gpu_count, info.gpus.data()); in init_enumerate_device()
Dvulkan_command_buffer_utils.h498 VkResult init_enumerate_device(struct sample_info &info, uint32_t gpu_count = 1);
/external/tensorflow/tensorflow/python/eager/
Dcontext.py1374 gpu_count = self._config.device_count.get("GPU", None)
1387 if gpu_count is not None:
1388 visible_gpus = visible_gpus[:gpu_count]
/external/tensorflow/tensorflow/core/profiler/internal/gpu/
Dcupti_tracer.cc1607 int gpu_count; in NumGpus() local
1608 if (cuDeviceGetCount(&gpu_count) != CUDA_SUCCESS) { in NumGpus()
1611 LOG(INFO) << "Profiler found " << gpu_count << " GPUs"; in NumGpus()
1612 return gpu_count; in NumGpus()
/external/vulkan-validation-layers/tests/
Dvkrenderframework.cpp329 err = vkEnumeratePhysicalDevices(inst, &this->gpu_count, NULL); in InitFramework()
330 ASSERT_LE(this->gpu_count, ARRAY_SIZE(objs)) << "Too many gpus"; in InitFramework()
332 err = vkEnumeratePhysicalDevices(inst, &this->gpu_count, objs); in InitFramework()
334 ASSERT_GE(this->gpu_count, (uint32_t)1) << "No GPU available"; in InitFramework()
Dvkrenderframework.h129 uint32_t gpu_count; variable