Update offload test and verify that tgt_(un)register_lib have the right type#150426
Update offload test and verify that tgt_(un)register_lib have the right type#150426bors merged 1 commit intorust-lang:mainfrom
Conversation
This comment has been minimized.
This comment has been minimized.
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
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
|
@bors2 try aarch64-gnu-llvm-20-1 |
|
Unknown argument "aarch64-gnu-llvm-20-1". Run |
2341687 to
ef942ba
Compare
|
r? @davidtwco rustbot has assigned @davidtwco. Use |
ef942ba to
dbd1f05
Compare
|
☔ The latest upstream changes made this pull request unmergeable. Please resolve the merge conflicts. |
add has_offload/needs-offload to the test infra unblocks: rust-lang/rust#150426 Mostly copied from rust-lang/rust#131044 lmk if some of these changes should land separately? r? jieyouxu
|
☔ The latest upstream changes (presumably #150606) made this pull request unmergeable. Please resolve the merge conflicts. |
dbd1f05 to
fa584fa
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
|
We still lack some infra to run this code in CI, but it has been verified locally on AMD APUs/GPUs and an NVIDIA GPU. @bors r=davidtwco rollup |
Rollup of 3 pull requests Successful merges: - #149681 (resolve: Split `Scope::Module` into two scopes for non-glob and glob bindings ) - #150426 (Update offload test and verify that tgt_(un)register_lib have the right type) - #150678 (relate.rs: tiny cleanup: eliminate temp vars) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of #150426 - ZuseZ4:offload-register-lib, r=davidtwco Update offload test and verify that tgt_(un)register_lib have the right type 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
Rollup of 3 pull requests Successful merges: - rust-lang/rust#149681 (resolve: Split `Scope::Module` into two scopes for non-glob and glob bindings ) - rust-lang/rust#150426 (Update offload test and verify that tgt_(un)register_lib have the right type) - rust-lang/rust#150678 (relate.rs: tiny cleanup: eliminate temp vars) r? `@ghost` `@rustbot` modify labels: rollup
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 onneeds-offloadinfrastructure landing in #150427