Lines Matching refs:globalThreadSizes
1122 size_t *globalThreadSizes, in get_max_common_2D_work_group_size() argument
1135 if (globalThreadSizes[0] * globalThreadSizes[1] <= maxSize) in get_max_common_2D_work_group_size()
1137 if (globalThreadSizes[0] <= sizeLimit[0] in get_max_common_2D_work_group_size()
1138 && globalThreadSizes[1] <= sizeLimit[1]) in get_max_common_2D_work_group_size()
1140 outMaxSizes[0] = globalThreadSizes[0]; in get_max_common_2D_work_group_size()
1141 outMaxSizes[1] = globalThreadSizes[1]; in get_max_common_2D_work_group_size()
1151 if (globalThreadSizes[i] > remainingSize) in get_max_common_2D_work_group_size()
1154 sizeForThisOne = globalThreadSizes[i]; in get_max_common_2D_work_group_size()
1155 for (; (globalThreadSizes[i] % sizeForThisOne) != 0 in get_max_common_2D_work_group_size()
1168 size_t *globalThreadSizes, in get_max_common_3D_work_group_size() argument
1180 if (globalThreadSizes[0] * globalThreadSizes[1] * globalThreadSizes[2] in get_max_common_3D_work_group_size()
1183 if (globalThreadSizes[0] <= sizeLimit[0] in get_max_common_3D_work_group_size()
1184 && globalThreadSizes[1] <= sizeLimit[1] in get_max_common_3D_work_group_size()
1185 && globalThreadSizes[2] <= sizeLimit[2]) in get_max_common_3D_work_group_size()
1187 outMaxSizes[0] = globalThreadSizes[0]; in get_max_common_3D_work_group_size()
1188 outMaxSizes[1] = globalThreadSizes[1]; in get_max_common_3D_work_group_size()
1189 outMaxSizes[2] = globalThreadSizes[2]; in get_max_common_3D_work_group_size()
1199 if (globalThreadSizes[i] > remainingSize) in get_max_common_3D_work_group_size()
1202 sizeForThisOne = globalThreadSizes[i]; in get_max_common_3D_work_group_size()
1203 for (; (globalThreadSizes[i] % sizeForThisOne) != 0 in get_max_common_3D_work_group_size()