-
Notifications
You must be signed in to change notification settings - Fork 51
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
small fix required for SYCL/clang20 #784
Conversation
I believe you may have made a git error here, as you seem to have included 29 commits. We should work on fixing this so only the necessary commits are included. |
Ho yes this looks bad, sorry. Not familiar with workflow involving forks. Not sure how to fix this. |
What seems to have happened is that your To fix the issue, I recommend the following steps:
That should do it. Note: you can probably skip steps 3 and 4 and just cherry-pick 4b572aa directly, but it is technically possible for git to garbage collect your commit if nothing points at it. |
At the same time: With any branch that "somehow broke", you can always consider to just abandon that branch completely. Close the PR, and open a new branch PR instead. Either cherry-picking relevant commits from the "dodgy branch", or in the worst of cases possibly just cloning the repository twice, and then copying code from one set of files to the other set of files by hand. (I had to do the latter once or twice in the past, when doing things "correctly using git" would've been too much hassle.) |
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
@stephenswat Thanks a lot. It looks better now. Hope it's good this time. |
@flg this looks good, but could you format the code using clang-format? Then this will be ready to go as far as I am concerned. |
Quality Gate passedIssues Measures |
Sycl/clang20 range index could no longer be convert to sycl::id so changed it to sycl::nd_item.
Not sure this is the best way to do it, happy to be advised by experts.
Error showed up with recent version of SYCL compiler:
from 24/11/2024 daily release of Intel's LLVM:
https://github.com/intel/llvm/releases/download/nightly-2024-11-24/sycl_linux.tar.gz