Skip to content

[SYCL][clang-linker-wrapper] Replace -lto-emit-asm option with -S for cuda pipeline #18000

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
Apr 18, 2025

Conversation

omarahmed1111
Copy link
Contributor

@omarahmed1111 omarahmed1111 commented Apr 14, 2025

-lto-emit-asm was used previously for cuda kernels pipeline when -flto was also used to generate ptx assembly. But after removing lto for cuda kernels, we don't need this option, instead we should use -S clang option to generate the ptx assembly for cuda kernels.

Fixing issue 17812

@omarahmed1111 omarahmed1111 changed the title [CLANG-OFFLOAD-WRAPPER] Replace -lto-emit-asm option with -S for cuda pipeline [SYCL][CLANG-LINKER-WRAPPER] Replace -lto-emit-asm option with -S for cuda pipeline Apr 14, 2025
@omarahmed1111 omarahmed1111 marked this pull request as ready for review April 14, 2025 13:09
@omarahmed1111 omarahmed1111 requested a review from a team as a code owner April 14, 2025 13:09
@omarahmed1111 omarahmed1111 reopened this Apr 15, 2025
@npmiller
Copy link
Contributor

ping @intel/dpcpp-tools-reviewers

Copy link
Contributor

@sarnex sarnex left a comment

Choose a reason for hiding this comment

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

for the title can you make CLANG-LINKER-WRAPPER lowercase? thx

@omarahmed1111 omarahmed1111 changed the title [SYCL][CLANG-LINKER-WRAPPER] Replace -lto-emit-asm option with -S for cuda pipeline [SYCL][clang-linker-wrapper] Replace -lto-emit-asm option with -S for cuda pipeline Apr 18, 2025
@npmiller
Copy link
Contributor

@intel/llvm-gatekeepers this should be ready to merge, the Jenkins/precommit failure seems to be an unrelated CI issue

@sarnex sarnex merged commit 00cdfe5 into intel:sycl Apr 18, 2025
60 of 62 checks passed
vinser52 pushed a commit to sergey-semenov/llvm that referenced this pull request Apr 22, 2025
… cuda pipeline (intel#18000)

`-lto-emit-asm` was used previously for cuda kernels pipeline when
`-flto` was also used to generate ptx assembly. But after removing lto
for cuda kernels, we don't need this option, instead we should use `-S`
clang option to generate the ptx assembly for cuda kernels.

Fixing issue [17812](intel#17812)
npmiller added a commit to npmiller/llvm that referenced this pull request Apr 23, 2025
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