/third_party/mindspore/tests/ut/cpp/parallel/ |
D | device_matrix_test.cc | 34 RankList dev_list = {0, 1, 2, 3, 4, 5}; in TEST_F() local 37 DeviceMatrix arr(0, dev_list, shape); in TEST_F() 45 RankList dev_list = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}; in TEST_F() local 48 DeviceMatrix arr(5, dev_list, shape); in TEST_F() 56 RankList dev_list = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15}; in TEST_F() local 59 DeviceMatrix arr(5, dev_list, shape); in TEST_F() 67 RankList dev_list; in TEST_F() local 68 for (int i = 0; i < 144; i++) dev_list.push_back(i); in TEST_F() 71 DeviceMatrix arr(5, dev_list, shape); in TEST_F() 80 RankList dev_list = {0, 1, 2, 3, 4, 5, 6, 7, 8}; in TEST_F() local [all …]
|
D | device_manager_test.cc | 72 RankList dev_list; in TEST_F() local 76 dev_list.push_back(5); in TEST_F() 77 dev_list.push_back(3); in TEST_F() 78 dev_list.push_back(1); in TEST_F() 79 dev_list.push_back(0); in TEST_F() 83 ASSERT_EQ(dm_.Init(dev_list, local_dev, stage_map, "hccl"), Status::SUCCESS); in TEST_F() 109 std::vector<Device> dev_list; in TEST_F() local 113 dev_list = dm_.CreateDeviceListByRankList(rlist); in TEST_F() 115 std::vector<Device>::iterator it = dev_list.begin(); in TEST_F() 122 RankList dev_list; in TEST_F() local [all …]
|
D | group_manager_test.cc | 45 std::vector<Device> dev_list; in Init() local 47 dev_list.push_back(one); in Init() 49 dev_list.push_back(two); in Init() 51 return gp.Init(gname, dev_list); in Init() 91 std::vector<Device> dev_list; in Init() local 93 dev_list.push_back(one); in Init() 95 dev_list.push_back(two); in Init() 97 return gm.CreateGroup(gname, dev_list, *gp_ptr); in Init()
|
D | virtual_dataset_test.cc | 40 RankList dev_list; in SetUp() local 43 dev_list.push_back(i); in SetUp() 54 g_device_manager->Init(dev_list, local_dev, stage_map, "hccl"); in SetUp()
|
/third_party/ffmpeg/libavdevice/ |
D | pulse_audio_common.c | 203 PulseAudioDeviceList dev_list = { 0 }; in ff_pulse_audio_get_devices() local 206 dev_list.output = output; in ff_pulse_audio_get_devices() 207 dev_list.devices = devices; in ff_pulse_audio_get_devices() 213 …if ((dev_list.error_code = ff_pulse_audio_connect_context(&pa_ml, &pa_ctx, server, "Query devices"… in ff_pulse_audio_get_devices() 217 pa_op = pa_context_get_sink_info_list(pa_ctx, pulse_audio_sink_device_cb, &dev_list); in ff_pulse_audio_get_devices() 219 pa_op = pa_context_get_source_info_list(pa_ctx, pulse_audio_source_device_cb, &dev_list); in ff_pulse_audio_get_devices() 223 dev_list.error_code = AVERROR_EXTERNAL; in ff_pulse_audio_get_devices() 225 if (dev_list.error_code < 0) in ff_pulse_audio_get_devices() 228 pa_op = pa_context_get_server_info(pa_ctx, pulse_server_info_cb, &dev_list); in ff_pulse_audio_get_devices() 232 dev_list.error_code = AVERROR_EXTERNAL; in ff_pulse_audio_get_devices() [all …]
|
/third_party/mindspore/tests/ut/cpp/parallel/auto_parallel/ |
D | operator_costmodel_test.cc | 36 RankList dev_list; in SetUp() local 39 dev_list.push_back(i); in SetUp() 50 g_device_manager->Init(dev_list, local_dev, stage_map, "hccl"); in SetUp() 93 RankList dev_list; in SetUp() local 96 dev_list.push_back(i); in SetUp() 107 g_device_manager->Init(dev_list, local_dev, stage_map, "hccl"); in SetUp() 145 RankList dev_list; in SetUp() local 148 dev_list.push_back(i); in SetUp() 159 g_device_manager->Init(dev_list, local_dev, stage_map, "hccl"); in SetUp()
|
/third_party/mesa3d/src/egl/main/ |
D | egldevice.c | 58 _EGLDevice *dev_list, *dev; in _eglFiniDevice() local 62 dev_list = _eglGlobal.DeviceList; in _eglFiniDevice() 65 assert(dev_list); in _eglFiniDevice() 66 assert(_eglDeviceSupports(dev_list, _EGL_DEVICE_SOFTWARE)); in _eglFiniDevice() 67 dev_list = dev_list->Next; in _eglFiniDevice() 69 while (dev_list) { in _eglFiniDevice() 71 dev = dev_list; in _eglFiniDevice() 72 dev_list = dev_list->Next; in _eglFiniDevice()
|
/third_party/alsa-lib/src/ucm/ |
D | utils.c | 150 list_for_each_safe(pos, npos, &ctl_list->dev_list) { in uc_mgr_free_ctl() 178 list_for_each(pos, &ctl_list->dev_list) { in uc_mgr_ctl_add_dev() 193 list_add_tail(&ctl_dev->list, &ctl_list->dev_list); in uc_mgr_ctl_add_dev() 215 INIT_LIST_HEAD(&cl->dev_list); in uc_mgr_ctl_add() 281 list_for_each(pos2, &ctl_list->dev_list) { in uc_mgr_open_ctl() 417 void uc_mgr_free_dev_list(struct dev_list *dev_list) in uc_mgr_free_dev_list() argument 422 list_for_each_safe(pos, npos, &dev_list->list) { in uc_mgr_free_dev_list() 430 int uc_mgr_put_to_dev_list(struct dev_list *dev_list, const char *name) in uc_mgr_put_to_dev_list() argument 436 list_for_each(pos, &dev_list->list) { in uc_mgr_put_to_dev_list() 451 list_add(&dlist->list, &dev_list->list); in uc_mgr_put_to_dev_list() [all …]
|
D | ucm_local.h | 110 struct dev_list { struct 122 struct list_head dev_list; argument 154 struct dev_list dev_list; member 179 struct dev_list dev_list; member 296 int uc_mgr_put_to_dev_list(struct dev_list *dev_list, const char *name);
|
/third_party/mindspore/tests/ut/cpp/parallel/tensor_layout/ |
D | redistribution_operator_infer_test.cc | 31 RankList dev_list; in SetUp() local 34 dev_list.push_back(i); in SetUp() 45 g_device_manager->Init(dev_list, local_dev, stage_map, "hccl"); in SetUp() 77 RankList dev_list; in InferOperatorCheckAll() local 78 for (int32_t i = 0; i < static_cast<int32_t>(pow(2, dim_len)); i++) dev_list.push_back(i); in InferOperatorCheckAll() 93 if (operatorInfer.Init(layout, out_tensor_map, dev_list) == Status::FAILED) { in InferOperatorCheckAll()
|
D | tensor_redistribution_test.cc | 31 RankList dev_list; in SetUp() local 34 dev_list.push_back(i); in SetUp() 45 g_device_manager->Init(dev_list, local_dev, stage_map, "hccl"); in SetUp() 87 RankList dev_list = g_device_manager->GetDeviceListByStageId(0); in TEST_F() local 88 tensor_redistribution.Init(from_layout, to_layout, dev_list); in TEST_F() 140 RankList dev_list = g_device_manager->GetDeviceListByStageId(0); in TEST_F() local 141 tensor_redistribution.Init(from_layout, to_layout, dev_list); in TEST_F() 193 RankList dev_list = g_device_manager->GetDeviceListByStageId(0); in TEST_F() local 194 tensor_redistribution.Init(from_layout, to_layout, dev_list); in TEST_F()
|
D | construct_operator_test.cc | 42 RankList dev_list; in SetUp() local 45 dev_list.push_back(i); in SetUp() 54 g_device_manager->Init(dev_list, local_dev, stage_map, "hccl"); in SetUp()
|
/third_party/alsa-utils/alsaucm/ |
D | dump.c | 452 const char **dev_list; in render_devlist() local 457 dev_num = snd_use_case_get_list(uc_mgr, buf, &dev_list); in render_devlist() 468 err = value(render, dev_list[j], j + 1 == dev_num); in render_devlist() 475 snd_use_case_free_list(dev_list, dev_num); in render_devlist() 551 const char **list, **dev_list, *verb, *comment; in render() local 569 dev_num = snd_use_case_get_list(uc_mgr, buf, &dev_list); in render() 578 snd_use_case_free_list(dev_list, dev_num); in render() 582 render->device_begin(render, dev_list[j + 0], dev_list[j + 1]); in render() 583 if (render_device(context, render, verb, dev_list[j + 0])) { in render() 584 snd_use_case_free_list(dev_list, dev_num); in render() [all …]
|
/third_party/mindspore/tests/ut/cpp/parallel/ops_info/ |
D | log_softmax_info_test.cc | 41 RankList dev_list; in SetUp() local 44 dev_list.push_back(i); in SetUp() 55 g_device_manager->Init(dev_list, local_dev, stage_map, "hccl"); in SetUp() 174 RankList dev_list = log_softmax->stage_device_list(); in TEST_F() local 175 ASSERT_EQ(dev_list.size(), 128); in TEST_F()
|
D | activation_test.cc | 43 RankList dev_list; in SetUp() local 46 dev_list.push_back(i); in SetUp() 57 g_device_manager->Init(dev_list, local_dev, stage_map, "hccl"); in SetUp()
|
D | gelu_info_test.cc | 41 RankList dev_list; in SetUp() local 44 dev_list.push_back(i); in SetUp() 55 g_device_manager->Init(dev_list, local_dev, stage_map, "hccl"); in SetUp()
|
D | pow_info_test.cc | 41 RankList dev_list; in SetUp() local 44 dev_list.push_back(i); in SetUp() 55 g_device_manager->Init(dev_list, local_dev, stage_map, "hccl"); in SetUp()
|
D | generate_strategy_test.cc | 37 RankList dev_list; in SetUp() local 40 dev_list.push_back(i); in SetUp() 51 g_device_manager->Init(dev_list, local_dev, stage_map, "hccl"); in SetUp()
|
D | tanh_info_test.cc | 41 RankList dev_list; in SetUp() local 44 dev_list.push_back(i); in SetUp() 55 g_device_manager->Init(dev_list, local_dev, stage_map, "hccl"); in SetUp()
|
D | softmax_info_test.cc | 42 RankList dev_list; in SetUp() local 45 dev_list.push_back(i); in SetUp() 55 g_device_manager->Init(dev_list, local_dev, stage_map, "hccl"); in SetUp()
|
D | activation_info_test.cc | 41 RankList dev_list; in SetUp() local 44 dev_list.push_back(i); in SetUp() 55 g_device_manager->Init(dev_list, local_dev, stage_map, "hccl"); in SetUp()
|
D | onehot_info_test_axis_0.cc | 41 RankList dev_list; in SetUp() local 44 dev_list.push_back(i); in SetUp() 55 g_device_manager->Init(dev_list, local_dev, stage_map, "hccl"); in SetUp()
|
D | softmax_entropy_loss_info_test.cc | 41 RankList dev_list; in SetUp() local 44 dev_list.push_back(i); in SetUp() 55 g_device_manager->Init(dev_list, local_dev, stage_map, "hccl"); in SetUp()
|
/third_party/libdrm/amdgpu/ |
D | amdgpu_device.c | 47 static amdgpu_device_handle dev_list; variable 98 amdgpu_device_handle *node = &dev_list; in amdgpu_device_free_internal() 167 for (dev = dev_list; dev; dev = dev->next) in amdgpu_device_initialize() 268 dev->next = dev_list; in amdgpu_device_initialize() 269 dev_list = dev; in amdgpu_device_initialize()
|
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/ |
D | device_manager.cc | 224 std::vector<Device> dev_list; in CreateDeviceListByRankList() local 227 dev_list.push_back(one); in CreateDeviceListByRankList() 229 return dev_list; in CreateDeviceListByRankList() 303 auto dev_list = CreateDeviceListByRankList(dev_ranks); in CreateGroup() local 304 return CreateGroup(group_name, dev_list); in CreateGroup()
|