Skip to content

Commit 642c96a

Browse files
authored
[SYCL][ESIMD][E2E] Fix test crash after driver update (#15732)
1 parent 1791115 commit 642c96a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sycl/test-e2e/ESIMD/histogram.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ int main(int argc, char *argv[]) {
127127
histogram_CPU(width, height, srcY, cpuHistogram);
128128

129129
sycl::image<2> Img(srcY, image_channel_order::rgba,
130-
image_channel_type::unsigned_int32,
131-
range<2>{width / sizeof(uint4), height});
130+
image_channel_type::unsigned_int8,
131+
range<2>{width / sizeof(uchar4), height});
132132

133133
// Start Timer
134134
esimd_test::Timer timer;

sycl/test-e2e/ESIMD/histogram_2d.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ int main(int argc, char *argv[]) {
131131
histogram_CPU(width, height, srcY, cpuHistogram);
132132

133133
sycl::image<2> Img(srcY, image_channel_order::rgba,
134-
image_channel_type::unsigned_int32,
135-
range<2>{width / sizeof(uint4), height});
134+
image_channel_type::unsigned_int8,
135+
range<2>{width / sizeof(uchar4), height});
136136

137137
// Start Timer
138138
esimd_test::Timer timer;

0 commit comments

Comments
 (0)