Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit 65ed1b2

Browse files
the _normalized_ version of the inconsistent OCL:CPU test also behaves inconsitently, just much less frequently. Have notified the devs and am temporarily modifying this test to skip the troublesome sample request location (#207)
Signed-off-by: Chris Perkins <[email protected]>
1 parent cb08705 commit 65ed1b2

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

SYCL/Sampler/normalized-none-linear-float.cpp

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ void test_normalized_none_linear_sampler(image_channel_order ChanOrder,
112112
0.625f, Norm_None_Linear_sampler); // {0.2,0.4,0.6,0.8}
113113
test_acc[i++] =
114114
image_acc.read(0.875f, Norm_None_Linear_sampler); // {0.6,0.4,0.2,0}
115+
// OCL:CPU returning inconsistent result, same thing happening for
116+
// unnormalized-none-linear. Temporarily skippin check (below) until
117+
// fixed.
115118
});
116119
});
117120
E_Test.wait();
@@ -175,8 +178,8 @@ int main() {
175178
// CHECK-NEXT: 3 -- 0: {0.2,0.4,0.6,0.8}
176179
// CHECK-NEXT: 4 -- 1: {0.6,0.4,0.2,0}
177180
// CHECK-NEXT: 5 -- 2: {0.2,0.4,0.6,0.8}
178-
// CHECK-NEXT: 6 -- 3: {0.6,0.4,0.2,0}
179-
// CHECK-NEXT: unorm_int8 -------
181+
// skip 6 -- 3: {0.6,0.4,0.2,0}
182+
// CHECK: unorm_int8 -------
180183
// CHECK-NEXT: read three pixels at inner boundary locations, sample: Normalized + None + Linear
181184
// CHECK-NEXT: 0 -- 1: {0.4,0.4,0.4,0.4}
182185
// CHECK-NEXT: 1 -- 2: {0.4,0.4,0.4,0.4}
@@ -185,5 +188,5 @@ int main() {
185188
// CHECK-NEXT: 3 -- 0: {0.2,0.4,0.6,0.8}
186189
// CHECK-NEXT: 4 -- 1: {0.6,0.4,0.2,0}
187190
// CHECK-NEXT: 5 -- 2: {0.2,0.4,0.6,0.8}
188-
// CHECK-NEXT: 6 -- 3: {0.6,0.4,0.2,0}
191+
// skip 6 -- 3: {0.6,0.4,0.2,0}
189192
// clang-format on

0 commit comments

Comments
 (0)