Skip to content

Commit 0769128

Browse files
committed
Fix and cleanup some tests
Signed-off-by: Georgi Mirazchiyski <[email protected]>
1 parent b80d098 commit 0769128

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

sycl/test-e2e/bindless_images/array/read_write_1d_subregion.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// REQUIRES: aspect-ext_oneapi_image_array
22

3-
// RUN: %if !any-device-is-hip %{ %{build} -o %t.out %}
4-
// RUN: %if !any-device-is-hip %{ %{run} %t.out %}
3+
// RUN: %{build} -o %t.out
4+
// RUN: %{run} %t.out
55

66
#include <iostream>
77
#include <sycl/detail/core.hpp>

sycl/test-e2e/bindless_images/read_sampled.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// REQUIRES: aspect-ext_oneapi_bindless_images
22

33
// 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.
55
// Also, the feature is not fully implemented in the Level Zero stack.
66

77
// RUN: %{build} -o %t.out
@@ -20,8 +20,8 @@
2020
#include "helpers/common.hpp"
2121
#include "helpers/sampling.hpp"
2222
#include <cassert>
23+
#include <cstdlib>
2324
#include <iostream>
24-
#include <random>
2525
#include <sycl/accessor_image.hpp>
2626
#include <sycl/detail/core.hpp>
2727

@@ -326,7 +326,7 @@ bool runTests(sycl::range<1> dims, sycl::range<1> localSize, float offset,
326326
syclexp::bindless_image_sampler samp(addrMode, normMode, filtMode);
327327

328328
#if defined(VERBOSE_LV2) || defined(VERBOSE_LV3)
329-
util::printTestInfo(samp, offset);
329+
sampling_helpers::printTestInfo(samp, offset);
330330
#endif
331331

332332
bindless_helpers::printTestName<NDims>("Running 1D short", dims,
@@ -483,7 +483,7 @@ bool runTests(sycl::range<2> dims, sycl::range<2> localSize, float offset,
483483
syclexp::bindless_image_sampler samp(addrMode, normMode, filtMode);
484484

485485
#if defined(VERBOSE_LV2) || defined(VERBOSE_LV3)
486-
util::printTestInfo(samp, offset);
486+
sampling_helpers::printTestInfo(samp, offset);
487487
#endif
488488

489489
bindless_helpers::printTestName<NDims>("Running 2D short", dims,

0 commit comments

Comments
 (0)