-
Notifications
You must be signed in to change notification settings - Fork 733
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ESIMD] Fix test failures with new driver #15734
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,14 +30,11 @@ int main(void) { | |
|
||
try { | ||
sycl::image<2> imgA(A, image_channel_order::rgba, | ||
image_channel_type::unsigned_int32, | ||
range<2>{Size / 4, 1}); | ||
image_channel_type::unsigned_int8, range<2>{Size, 1}); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same question as above, A B and C seem to be ints here There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This test was not crashing but it failed. A,B,C are declared as int[Size] which is 4 channels of 8 bits each of size Sizex1 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. got it, thanks |
||
sycl::image<2> imgB(B, image_channel_order::rgba, | ||
image_channel_type::unsigned_int32, | ||
range<2>{Size / 4, 1}); | ||
image_channel_type::unsigned_int8, range<2>{Size, 1}); | ||
sycl::image<2> imgC(C, image_channel_order::rgba, | ||
image_channel_type::unsigned_int32, | ||
range<2>{Size / 4, 1}); | ||
image_channel_type::unsigned_int8, range<2>{Size, 1}); | ||
|
||
// We need that many workitems | ||
range<1> GlobalRange{(Size / VL)}; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in this example it looks like
M
isint32
. Is this one crashing too?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
M is declared as an array of MZxMZ which is 4 channels with 8 bit for each channel. This particular test was crashing