-
Notifications
You must be signed in to change notification settings - Fork 130
[SYCL] Update part of the tests to make double support optional #1190
[SYCL] Update part of the tests to make double support optional #1190
Conversation
Looks good to me, but isn't this fix a subset of a bigger fix (#1150) being reviewed and waiting for approval? |
That's right. This patch suggests an alternative solution. It covers only part of the tests to demonstrate approach. |
test.cpp:
test_double.cpp
in this case either test.cpp or test_double.cpp will be reported as "UNSUPPORTED" depending on fp64 support by the test platform. |
Not sure that not testing doubles but having "UNSUPPORTED" tests is a way better than not testing doubles and reporting "PASSED"(we could also add a message from the test saying that doubles are skipped). We already have similar cases in the code base: fp16, image, atomic64, ext_oneapi_cuda_async_barrier. So, if we go with LIT features way ( Also, I'm not really sure how we can implement that. Let's say we are going to test |
I agree with @romanovvlad here: list of supported aspects is a property of a device and we can have more than one device available on our systems. I suggest that we go with the approach Vlad implemented in this PR, because it should save us more machine time during testing. Moreover, when optional kernel features will be implemented, we should be able to remove per-kernel device code split from all tests. |
…l#1190) Co-authored-by: Alexey Sachkov <[email protected]> Co-authored-by: Pavel Chupin <[email protected]>
…l/llvm-test-suite#1190) Co-authored-by: Alexey Sachkov <[email protected]> Co-authored-by: Pavel Chupin <[email protected]>
No description provided.