-
Notifications
You must be signed in to change notification settings - Fork 130
[ESIMD]Test correctness of type conversion fix #1170
Conversation
|
/verify with intel/llvm#6627 |
v-klochkov
left a comment
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.
Looks good to me. I have only few non-blocking comments.
| { | ||
| sycl::range<1> range(1); | ||
| sycl::buffer<double, 1> buffer_in(&input, range); | ||
| sycl::buffer<unsigned int, 1> buffer_out(&output, range); |
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.
Not a requirement: as soon as the test is 'double_conversion', it may be nice to test 'signed int' as well.
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.
Added some tests for basic test fir signed int
|
/verify with intel/llvm#6627 |
|
@fineg74 - please fix one more clang-format issue |
|
The test fails with error: LLVM ERROR: GenX execution width and GRF crossing legalization failed for: < %1 = fptoui <1 x double> %call2.i.i.i.i.esimd.i.i to <1 x i32>>: 'double' data type is not supported by this target |
v-klochkov
left a comment
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.
Please add 'aspect-fp64' to 'REQUIRES' section.
|
@v-klochkov could you please merge the test |
* Test correctness of type conversion fix * Add requirement of aspect-fp64 for the test
…#1170) * Test correctness of type conversion fix * Add requirement of aspect-fp64 for the test
Complementary compiler PR: intel/llvm#6627