@@ -177,7 +177,7 @@ sycl::range<2> getCubeGlobal(size_t index) {
177177 return globalSizes[index % 3 ];
178178}
179179
180- sycl::range<3 > getCubeSubgroup (size_t index) {
180+ sycl::range<3 > getCubeLocal (size_t index) {
181181
182182 const std::vector<sycl::range<3 >> localSizes = {
183183 {3 , 3 , 1 }, {5 , 5 , 3 }, {4 , 4 , 2 }};
@@ -194,125 +194,125 @@ int main() {
194194 printTestName (" Running cube int\n " );
195195 failed |= run_test<int32_t , 1 , sycl::image_channel_type::signed_int32,
196196 class int_cube >(getCubeGlobal (sizeIndex),
197- getCubeSubgroup (sizeIndex), seed);
197+ getCubeLocal (sizeIndex), seed);
198198 sizeIndex++;
199199 printTestName (" Running cube int2\n " );
200200 failed |= run_test<int32_t , 2 , sycl::image_channel_type::signed_int32,
201201 class int2_cube >(getCubeGlobal (sizeIndex),
202- getCubeSubgroup (sizeIndex), seed);
202+ getCubeLocal (sizeIndex), seed);
203203 sizeIndex++;
204204 printTestName (" Running cube int4\n " );
205205 failed |= run_test<int32_t , 4 , sycl::image_channel_type::signed_int32,
206206 class int4_cube >(getCubeGlobal (sizeIndex),
207- getCubeSubgroup (sizeIndex), seed);
207+ getCubeLocal (sizeIndex), seed);
208208 sizeIndex++;
209209 printTestName (" Running cube unsigned int\n " );
210210 failed |= run_test<uint32_t , 1 , sycl::image_channel_type::unsigned_int32,
211211 class uint_cube >(getCubeGlobal (sizeIndex),
212- getCubeSubgroup (sizeIndex), seed);
212+ getCubeLocal (sizeIndex), seed);
213213 sizeIndex++;
214214 printTestName (" Running cube unsigned int2\n " );
215215 failed |= run_test<uint32_t , 2 , sycl::image_channel_type::unsigned_int32,
216216 class uint2_cube >(getCubeGlobal (sizeIndex),
217- getCubeSubgroup (sizeIndex), seed);
217+ getCubeLocal (sizeIndex), seed);
218218 sizeIndex++;
219219 printTestName (" Running cube unsigned int4\n " );
220220 failed |= run_test<uint32_t , 4 , sycl::image_channel_type::unsigned_int32,
221221 class uint4_cube >(getCubeGlobal (sizeIndex),
222- getCubeSubgroup (sizeIndex), seed);
222+ getCubeLocal (sizeIndex), seed);
223223 sizeIndex++;
224224 printTestName (" Running cube short\n " );
225225 failed |= run_test<short , 1 , sycl::image_channel_type::signed_int16,
226226 class short_cube >(getCubeGlobal (sizeIndex),
227- getCubeSubgroup (sizeIndex), seed);
227+ getCubeLocal (sizeIndex), seed);
228228 sizeIndex++;
229229 printTestName (" Running cube short2\n " );
230230 failed |= run_test<short , 2 , sycl::image_channel_type::signed_int16,
231231 class short2_cube >(getCubeGlobal (sizeIndex),
232- getCubeSubgroup (sizeIndex), seed);
232+ getCubeLocal (sizeIndex), seed);
233233 sizeIndex++;
234234 printTestName (" Running cube short4\n " );
235235 failed |= run_test<short , 4 , sycl::image_channel_type::signed_int16,
236236 class short4_cube >(getCubeGlobal (sizeIndex),
237- getCubeSubgroup (sizeIndex), seed);
237+ getCubeLocal (sizeIndex), seed);
238238 sizeIndex++;
239239 printTestName (" Running cube unsigned short\n " );
240240 failed |=
241241 run_test<unsigned short , 1 , sycl::image_channel_type::unsigned_int16,
242242 class ushort_cube >(getCubeGlobal (sizeIndex),
243- getCubeSubgroup (sizeIndex), seed);
243+ getCubeLocal (sizeIndex), seed);
244244 sizeIndex++;
245245 printTestName (" Running cube unsigned short2\n " );
246246 failed |=
247247 run_test<unsigned short , 2 , sycl::image_channel_type::unsigned_int16,
248248 class ushort2_cube >(getCubeGlobal (sizeIndex),
249- getCubeSubgroup (sizeIndex), seed);
249+ getCubeLocal (sizeIndex), seed);
250250 sizeIndex++;
251251 printTestName (" Running cube unsigned short4\n " );
252252 failed |=
253253 run_test<unsigned short , 4 , sycl::image_channel_type::unsigned_int16,
254254 class ushort4_cube >(getCubeGlobal (sizeIndex),
255- getCubeSubgroup (sizeIndex), seed);
255+ getCubeLocal (sizeIndex), seed);
256256 sizeIndex++;
257257 printTestName (" Running cube char\n " );
258258 failed |= run_test<signed char , 1 , sycl::image_channel_type::signed_int8,
259259 class char_cube >(getCubeGlobal (sizeIndex),
260- getCubeSubgroup (sizeIndex), seed);
260+ getCubeLocal (sizeIndex), seed);
261261 sizeIndex++;
262262 printTestName (" Running cube char2\n " );
263263 failed |= run_test<signed char , 2 , sycl::image_channel_type::signed_int8,
264264 class char2_cube >(getCubeGlobal (sizeIndex),
265- getCubeSubgroup (sizeIndex), seed);
265+ getCubeLocal (sizeIndex), seed);
266266 sizeIndex++;
267267 printTestName (" Running cube char4\n " );
268268 failed |= run_test<signed char , 4 , sycl::image_channel_type::signed_int8,
269269 class char4_cube >(getCubeGlobal (sizeIndex),
270- getCubeSubgroup (sizeIndex), seed);
270+ getCubeLocal (sizeIndex), seed);
271271 sizeIndex++;
272272 printTestName (" Running cube unsigned char\n " );
273273 failed |= run_test<unsigned char , 1 , sycl::image_channel_type::unsigned_int8,
274274 class uchar_cube >(getCubeGlobal (sizeIndex),
275- getCubeSubgroup (sizeIndex), seed);
275+ getCubeLocal (sizeIndex), seed);
276276 sizeIndex++;
277277 printTestName (" Running cube unsigned char2\n " );
278278 failed |= run_test<unsigned char , 2 , sycl::image_channel_type::unsigned_int8,
279279 class uchar2_cube >(getCubeGlobal (sizeIndex),
280- getCubeSubgroup (sizeIndex), seed);
280+ getCubeLocal (sizeIndex), seed);
281281 sizeIndex++;
282282 printTestName (" Running cube unsigned char4\n " );
283283 failed |= run_test<unsigned char , 4 , sycl::image_channel_type::unsigned_int8,
284284 class uchar4_cube >(getCubeGlobal (sizeIndex),
285- getCubeSubgroup (sizeIndex), seed);
285+ getCubeLocal (sizeIndex), seed);
286286 sizeIndex++;
287287 printTestName (" Running cube float\n " );
288288 failed |=
289289 run_test<float , 1 , sycl::image_channel_type::fp32, class float_cube >(
290- getCubeGlobal (sizeIndex), getCubeSubgroup (sizeIndex), seed);
290+ getCubeGlobal (sizeIndex), getCubeLocal (sizeIndex), seed);
291291 sizeIndex++;
292292 printTestName (" Running cube float2\n " );
293293 failed |=
294294 run_test<float , 2 , sycl::image_channel_type::fp32, class float2_cube >(
295- getCubeGlobal (sizeIndex), getCubeSubgroup (sizeIndex), seed);
295+ getCubeGlobal (sizeIndex), getCubeLocal (sizeIndex), seed);
296296 sizeIndex++;
297297 printTestName (" Running cube float4\n " );
298298 failed |=
299299 run_test<float , 4 , sycl::image_channel_type::fp32, class float4_cube >(
300- getCubeGlobal (sizeIndex), getCubeSubgroup (sizeIndex), seed);
300+ getCubeGlobal (sizeIndex), getCubeLocal (sizeIndex), seed);
301301 sizeIndex++;
302302 printTestName (" Running cube half\n " );
303303 failed |=
304304 run_test<sycl::half, 1 , sycl::image_channel_type::fp16, class half_cube >(
305- getCubeGlobal (sizeIndex), getCubeSubgroup (sizeIndex), seed);
305+ getCubeGlobal (sizeIndex), getCubeLocal (sizeIndex), seed);
306306 sizeIndex++;
307307 printTestName (" Running cube half2\n " );
308308 failed |=
309309 run_test<sycl::half, 2 , sycl::image_channel_type::fp16, class half2_cube >(
310- getCubeGlobal (sizeIndex), getCubeSubgroup (sizeIndex), seed);
310+ getCubeGlobal (sizeIndex), getCubeLocal (sizeIndex), seed);
311311 sizeIndex++;
312312 printTestName (" Running cube half4\n " );
313313 failed |=
314314 run_test<sycl::half, 4 , sycl::image_channel_type::fp16, class half4_cube >(
315- getCubeGlobal (sizeIndex), getCubeSubgroup (sizeIndex), seed);
315+ getCubeGlobal (sizeIndex), getCubeLocal (sizeIndex), seed);
316316
317317 if (failed) {
318318 std::cerr << " An error has occured!\n " ;
0 commit comments