Skip to content

[Driver][SYCL][clang-linker-wrapper] Fix sycl device library arguments #12116

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 1 commit into from
Dec 12, 2023

Conversation

sarnex
Copy link
Contributor

@sarnex sarnex commented Dec 7, 2023

Right now we use --, but in clang-linker-wrapper we use the clang Arg infrastructure to match them, and that requires -.

At least for me every invocation of SYCL with the new offload model hits this problem. After this, at least clang-linker-wrapper gets further and we get some sycl-post-link error which I'll look at next.

Right now we use `--`, but in clang-linker-wrapper we use the Clang
Arg infrastrcture to match them, and that requires `-`.

At least for me every invocation of SYCL with the new offload model
hits this problem. After this, at least clang-linker-wrapper
finishes and we get some sycl-post-link error.

Signed-off-by: Sarnie, Nick <[email protected]>
@sarnex sarnex marked this pull request as ready for review December 7, 2023 21:42
@sarnex sarnex requested a review from a team as a code owner December 7, 2023 21:42
@sarnex
Copy link
Contributor Author

sarnex commented Dec 11, 2023

@mdtoguchi Mind taking a look at this bad boy when you have a sec? Thanks!

Copy link
Contributor

@mdtoguchi mdtoguchi left a comment

Choose a reason for hiding this comment

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

LGTM

@sarnex
Copy link
Contributor Author

sarnex commented Dec 12, 2023

@intel/llvm-gatekeepers This one is ready, thx!

@aelovikov-intel aelovikov-intel merged commit 1c8a01d into intel:sycl Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants