Lines Matching refs:old_idx
6353 for (uint32_t old_idx = 0; old_idx < inst->phys_dev_count_term; old_idx++) {
6354 if (new_phys_devs[new_idx]->phys_dev == inst->phys_devs_term[old_idx]->phys_dev) {
6356 "Copying old device %u into new device %u", old_idx, new_idx);
6359 new_phys_devs[new_idx] = inst->phys_devs_term[old_idx];
6398 for (uint32_t old_idx = 0; old_idx < inst->phys_dev_count_term; old_idx++) {
6399 if (new_phys_devs[i] == inst->phys_devs_term[old_idx]) {
7140 for (uint32_t old_idx = 0; old_idx < inst->phys_dev_group_count_term; old_idx++) {
7141 if (NULL != group_properties && NULL != inst->phys_dev_groups_term[old_idx] &&
7142 group_properties->physicalDeviceCount == inst->phys_dev_groups_term[old_idx]->physicalDeviceCount) {
7144 for (uint32_t old_gpu = 0; old_gpu < inst->phys_dev_groups_term[old_idx]->physicalDeviceCount; old_gpu++) {
7148 inst->phys_dev_groups_term[old_idx]->physicalDevices[old_gpu]) {
7162 new_phys_dev_groups[idx] = inst->phys_dev_groups_term[old_idx];
7200 for (uint32_t old_idx = 0; old_idx < inst->phys_dev_group_count_term; old_idx++) {
7201 if (new_phys_dev_groups[i] == inst->phys_dev_groups_term[old_idx]) {