-
Notifications
You must be signed in to change notification settings - Fork 848
[SYCL] Improve implementation of free function kernels nd_launch and single_task launch functions #22793
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
Merged
Merged
[SYCL] Improve implementation of free function kernels nd_launch and single_task launch functions #22793
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
1286e33
Fix wrong link in UNSUPPORTED tracker
lbushi25 be7a943
Merge branch 'intel:sycl' into sycl
lbushi25 9bd5163
Merge branch 'intel:sycl' into sycl
lbushi25 5ac4e56
Merge branch 'intel:sycl' into sycl
lbushi25 f4de416
Implement updates to root group extension
lbushi25 394d36b
[SYCL] Enqueue free function kernels directly in nd_launch/single_task
lbushi25 96d1a67
Fix merge conflict
lbushi25 ae2734d
Remove rogue changes
lbushi25 dde94a7
Fix formatting
lbushi25 76b3fe3
Reduce iteration space size to avoid too many work items exception
lbushi25 57ab1ac
Add XFAIL for native-cpu and add missing symbols on Windows
lbushi25 f8bb4d8
Fix typo in XFAIL target
lbushi25 bc98fc8
Remove XFAIL in dynamic_unused.cpp
lbushi25 2f41407
Add separate compilation test for new nd_launch API
lbushi25 717ce70
Remove debug artifact files
lbushi25 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
The whole "Unnamed lambda tend to cause problems with other host compilers" seems ominous. Do we know if this new approach avoids whatever problem THAT was? Hopefully there was a test.
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.
The comment you are referring to is inaccurate, the real problem here was that the unnamed lambda feature had to be enabled for this to work and using a host compiler is one way to ensure that it is not enabled which is why it caused issues.
That said, this problem should be completely bypassed by this approach with an emphasis on "should". Since we can't be sure, thankfully we already have a test that exercises the
-fno-sycl-unnamed-lambdaoption to forcefully disable the unnamed lambda feature and verify nothing breaks. The test in question is https://github.com/intel/llvm/blob/44b3c2d796144976bb613bc4facd70f0ec17834a/sycl/test-e2e/FreeFunctionKernels/free_function_kernels_enqueue.cpp. It has not been broken by these changes.