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

[SYCL] tests to support new sycl::span deduction guide fix #572

Conversation

cperkinsintel
Copy link

@cperkinsintel cperkinsintel commented Nov 16, 2021

deduction guide for sycl::span has been updated to correctly support construction with type deduction for array args. Here the tests are updated to support this new addition.

Fix on intel/llvm: intel/llvm#4970

This test change cannot pass without the above PR. Here you can see the two run against each other and passing successfully: http://icl-jenkins.sc.intel.com:8080/job/SYCL_CI/job/intel/job/Lin/job/LLVM_Test_Suite/7736/

Signed-off-by: Chris Perkins [email protected]

…construction with type deduction for array args. Here the tests are updated to support this new addition.

Signed-off-by: Chris Perkins <[email protected]>
@cperkinsintel cperkinsintel marked this pull request as ready for review November 17, 2021 02:24
@cperkinsintel cperkinsintel requested a review from a team as a code owner November 17, 2021 02:24
@vladimirlaz
Copy link

/verify with intel/llvm#4970

Copy link

@s-kanaev s-kanaev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as I understand, the test doesn't need to run anything. Hence, is it possible to have such a test as in-tree LIT test?

@cperkinsintel
Copy link
Author

@s-kanaev - by "have such a test as an in-tree LIT test" do you mean move this test back to intel/llvm as part of the SYCL test suite there? Yes, easily. Let me know if I understand you correctly.

@vladimirlaz
Copy link

@cperkinsintel it looks like there is no reason to add the regression test for the issue here. The problem is exposed on compile-time and can be checked in check-sycl.

bader pushed a commit to intel/llvm that referenced this pull request Nov 30, 2021
The sycl::span does not correctly deduce the type from an array argument.  Here we fix this by adjusting the deduction guide to select the correct specialization (that has array support). The tests on llvm-test-suite are being updated as well. ( intel/llvm-test-suite#572 )

Signed-off-by: Chris Perkins <[email protected]>
@cperkinsintel
Copy link
Author

moving test to check-sycl intel/llvm#5056 . Closing

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants