Skip to content

Conversation

@ZuseZ4
Copy link
Member

@ZuseZ4 ZuseZ4 commented Dec 27, 2025

Apparently, we weren't running offload tests when Enzyme wasn't built. Time to fix that.
Also adds a test mode which generates the host IR, but does not expect device IR/artifacts. This way, we don't have to handle artifacts and paths in our tests.
Also removes some outdated documentation.

cc @kevinsala, @Sa4dUs

closes: #150415

blocked on needs-offload infrastructure landing in #150427

@rustbot rustbot added A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Dec 27, 2025
@rust-log-analyzer

This comment has been minimized.

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Dec 29, 2025
add has_offload/needs-offload to the test infra

unblocks: rust-lang#150426

Mostly copied from rust-lang#131044
lmk if some of these changes should land separately?

r? jieyouxu
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Dec 29, 2025
add has_offload/needs-offload to the test infra

unblocks: rust-lang#150426

Mostly copied from rust-lang#131044
lmk if some of these changes should land separately?

r? jieyouxu
rust-timer added a commit that referenced this pull request Dec 29, 2025
Rollup merge of #150427 - ZuseZ4:offload-testinfra, r=jieyouxu

add has_offload/needs-offload to the test infra

unblocks: #150426

Mostly copied from #131044
lmk if some of these changes should land separately?

r? jieyouxu
@ZuseZ4
Copy link
Member Author

ZuseZ4 commented Dec 30, 2025

@bors2 try aarch64-gnu-llvm-20-1

@rust-bors
Copy link

rust-bors bot commented Dec 30, 2025

Unknown argument "aarch64-gnu-llvm-20-1". Run @bors2 help to see available commands.

@ZuseZ4 ZuseZ4 force-pushed the offload-register-lib branch from 2341687 to ef942ba Compare December 30, 2025 12:15
@ZuseZ4 ZuseZ4 marked this pull request as ready for review December 30, 2025 12:15
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 30, 2025
@rustbot
Copy link
Collaborator

rustbot commented Dec 30, 2025

r? @davidtwco

rustbot has assigned @davidtwco.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot removed the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Dec 30, 2025
@ZuseZ4 ZuseZ4 force-pushed the offload-register-lib branch from ef942ba to dbd1f05 Compare December 30, 2025 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Offload generates wrong declarations for LLVM target routines

4 participants