Skip to content

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