-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
Update offload test and verify that tgt_(un)register_lib have the right type #150426
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
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r=me after testing this works as expected and this nit is fixed
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
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