Home
last modified time | relevance | path

Searched refs:all_devices (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/openmp/libomptarget/plugins/amdgpu/impl/
Dsystem.cpp412 atmi_device_t *all_devices = reinterpret_cast<atmi_device_t *>( in init_compute_and_memory() local
436 g_atmi_machine.devices_by_type[ATMI_DEVTYPE_CPU] = &all_devices[cpus_begin]; in init_compute_and_memory()
437 g_atmi_machine.devices_by_type[ATMI_DEVTYPE_GPU] = &all_devices[gpus_begin]; in init_compute_and_memory()
438 g_atmi_machine.devices_by_type[ATMI_DEVTYPE_iGPU] = &all_devices[gpus_begin]; in init_compute_and_memory()
439 g_atmi_machine.devices_by_type[ATMI_DEVTYPE_dGPU] = &all_devices[gpus_begin]; in init_compute_and_memory()
442 all_devices[i].type = cpu_procs[proc_index].type(); in init_compute_and_memory()
464 all_devices[i].type = gpu_procs[proc_index].type(); in init_compute_and_memory()
/external/tensorflow/tensorflow/core/kernels/
Dcollective_nccl_test.cc100 std::vector<std::unique_ptr<Device>> all_devices; in SetUp() local
102 ->AddDevices(SessionOptions(), "", &all_devices)); in SetUp()
103 for (std::unique_ptr<Device>& d : all_devices) { in SetUp()
/external/tensorflow/tensorflow/python/distribute/
Dmirrored_strategy.py182 def all_devices(): function
325 devices = devices or all_devices()
/external/tensorflow/tensorflow/core/common_runtime/
Dprocess_function_library_runtime.cc213 DeviceMgr const* all_devices = device_mgr_; in InitializeDeviceAndFlr() local
215 all_devices = parent_->remote_device_mgr(); in InitializeDeviceAndFlr()
220 for (auto d : all_devices->ListDevices()) { in InitializeDeviceAndFlr()