Searched refs:dev_per_task (Results 1 – 5 of 5) sorted by relevance
/external/tensorflow/tensorflow/core/common_runtime/ |
D | hierarchical_tree_broadcaster.cc | 63 int device_rank, const std::vector<int>& dev_per_task) { in GetDeviceTask() argument 64 int num_tasks = static_cast<int>(dev_per_task.size()); in GetDeviceTask() 68 task_hi = task_lo + dev_per_task[ti]; in GetDeviceTask() 89 std::vector<int> dev_per_task; in InitializeCollectiveParams() local 94 dev_per_task.push_back(dev_count); in InitializeCollectiveParams() 101 dev_per_task.push_back(dev_count); in InitializeCollectiveParams() 102 CHECK_EQ(col_params->group.num_tasks, dev_per_task.size()); in InitializeCollectiveParams() 106 for (int dpt : dev_per_task) strings::StrAppend(&dpt_buf, dpt, ";"); in InitializeCollectiveParams() 117 for (int num_dev : dev_per_task) total_num_devices += num_dev; in InitializeCollectiveParams() 132 int source_task = GetDeviceTask(col_params->source_rank, dev_per_task); in InitializeCollectiveParams() [all …]
|
D | ring_alg.cc | 179 std::vector<int> dev_per_task; in InitializeCollectiveParams() local 184 dev_per_task.push_back(dev_count); in InitializeCollectiveParams() 191 dev_per_task.push_back(dev_count); in InitializeCollectiveParams() 192 DCHECK_EQ(col_params->group.num_tasks, dev_per_task.size()); in InitializeCollectiveParams() 222 for (int di = 0; di < dev_per_task[ti]; ++di) { in InitializeCollectiveParams() 223 int di_offset = (di + offset) % dev_per_task[ti]; in InitializeCollectiveParams() 225 reverse ? (dev_per_task[ti] - (di_offset + 1)) : di_offset; in InitializeCollectiveParams() 235 prior_dev_count += dev_per_task[ti]; in InitializeCollectiveParams()
|
D | hierarchical_tree_broadcaster.h | 68 int GetDeviceTask(int device_rank, const std::vector<int>& dev_per_task);
|
D | collective_param_resolver_local.cc | 468 int dev_per_task = -1; in SetDevPerTask() local 470 if (dev_per_task == -1) { in SetDevPerTask() 471 dev_per_task = task_dev.second; in SetDevPerTask() 472 } else if (dev_per_task != task_dev.second) { in SetDevPerTask()
|
D | hierarchical_tree_broadcaster_test.cc | 799 std::vector<int> dev_per_task = {4, 4, 6, 8}; in TEST_F() local 802 for (int di = 0; di < dev_per_task[ti]; di++) { in TEST_F()
|