|
1 | 1 | // REQUIRES: aspect-ext_oneapi_bindless_images
|
2 | 2 |
|
3 | 3 | // UNSUPPORTED: hip || level_zero
|
4 |
| -// UNSUPPORTED-INTENDED: Returning non-FP values from fetching fails on HIP. |
| 4 | +// UNSUPPORTED-INTENDED: Returning non-FP values from sampling fails on HIP. |
5 | 5 | // Also, the feature is not fully implemented in the Level Zero stack.
|
6 | 6 |
|
7 | 7 | // RUN: %{build} -o %t.out
|
|
20 | 20 | #include "helpers/common.hpp"
|
21 | 21 | #include "helpers/sampling.hpp"
|
22 | 22 | #include <cassert>
|
| 23 | +#include <cstdlib> |
23 | 24 | #include <iostream>
|
24 |
| -#include <random> |
25 | 25 | #include <sycl/accessor_image.hpp>
|
26 | 26 | #include <sycl/detail/core.hpp>
|
27 | 27 |
|
@@ -326,7 +326,7 @@ bool runTests(sycl::range<1> dims, sycl::range<1> localSize, float offset,
|
326 | 326 | syclexp::bindless_image_sampler samp(addrMode, normMode, filtMode);
|
327 | 327 |
|
328 | 328 | #if defined(VERBOSE_LV2) || defined(VERBOSE_LV3)
|
329 |
| - util::printTestInfo(samp, offset); |
| 329 | + sampling_helpers::printTestInfo(samp, offset); |
330 | 330 | #endif
|
331 | 331 |
|
332 | 332 | bindless_helpers::printTestName<NDims>("Running 1D short", dims,
|
@@ -483,7 +483,7 @@ bool runTests(sycl::range<2> dims, sycl::range<2> localSize, float offset,
|
483 | 483 | syclexp::bindless_image_sampler samp(addrMode, normMode, filtMode);
|
484 | 484 |
|
485 | 485 | #if defined(VERBOSE_LV2) || defined(VERBOSE_LV3)
|
486 |
| - util::printTestInfo(samp, offset); |
| 486 | + sampling_helpers::printTestInfo(samp, offset); |
487 | 487 | #endif
|
488 | 488 |
|
489 | 489 | bindless_helpers::printTestName<NDims>("Running 2D short", dims,
|
|
0 commit comments