Skip to content

[SYCL][HIP] Add --only-needed flag to llvm-link for AMDGCN #15558

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 4 commits into from
Oct 1, 2024

Conversation

MartinWehking
Copy link
Contributor

@MartinWehking MartinWehking commented Sep 30, 2024

Add the -only-needed flag for AMDGCN when linking against devicelib.

Fixes several test cases that use kernel bundles.

Add the --only-needed flag for AMDGCN when linking against devicelib.

Fixes several test cases that use kernel bundles.
@npmiller npmiller marked this pull request as ready for review September 30, 2024 17:36
@npmiller npmiller requested a review from a team as a code owner September 30, 2024 17:36
@npmiller npmiller changed the title Add --only-needed flag to llvm-link for AMDGCN [SYCL][HIP] Add --only-needed flag to llvm-link for AMDGCN Sep 30, 2024
@srividya-sundaram
Copy link
Contributor

Add the --only-needed flag for AMDGCN when linking against devicelib

Is there a test added to verify this?

@MartinWehking
Copy link
Contributor Author

Add the --only-needed flag for AMDGCN when linking against devicelib

Is there a test added to verify this?

Hi @srividya-sundaram
Thanks. I've added some checks for this.

Copy link
Contributor

@srividya-sundaram srividya-sundaram left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@sarnex
Copy link
Contributor

sarnex commented Oct 1, 2024

Merging now to unbreak CI and only changes since last full CI run are in lit tests which passed on both platforms.

@sarnex sarnex merged commit 184949d into intel:sycl Oct 1, 2024
12 checks passed
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