Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/delegates/gpu/common/task/
Dwork_group_picking.cc103 int GetPenalty(int grid_size, int group_size) { in GetPenalty() function
108 int GetPenalty(int2 grid_size, int2 group_size) { in GetPenalty() function
109 const int p_x = GetPenalty(grid_size.x, group_size.x); in GetPenalty()
110 const int p_y = GetPenalty(grid_size.y, group_size.y); in GetPenalty()
116 int min_penalty = GetPenalty(size, best_size); in GetMaxSizeWithMinPenalty()
118 if (GetPenalty(size, i * 128) == min_penalty) { in GetMaxSizeWithMinPenalty()
129 min_penalty = std::min(GetPenalty(size, group), min_penalty); in GetMaxSizeWithMinPenalty()
139 if (GetPenalty(size, int2(new_group_x, new_group_y)) == min_penalty) { in GetMaxSizeWithMinPenalty()