Skip to content

Commit 649591a

Browse files
author
The Miri Cronjob Bot
committed
Merge ref 'e8f3cfc0de70' from rust-lang/rust
Pull recent changes from https://github.com/rust-lang/rust via Josh. Upstream ref: e8f3cfc0de70bf82583591f6656e1fba3140253e Filtered ref: 5837f859c413e836e4fd1eb4985632c2f62c7db0 Upstream diff: rust-lang/rust@7fefa09...e8f3cfc This merge was created using https://github.com/rust-lang/josh-sync.
2 parents 60f0f51 + 1bcbac5 commit 649591a

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/offload/usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ fn main() {
5757

5858
#[inline(never)]
5959
unsafe fn kernel(x: *mut [f64; 256]) {
60-
core::intrinsics::offload(kernel_1, (x,))
60+
core::intrinsics::offload(_kernel_1, [256, 1, 1], [32, 1, 1], (x,))
6161
}
6262

6363
#[cfg(target_os = "linux")]

src/tests/directives.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,8 @@ settings:
213213
that this directive can be overriden with the `--bypass-ignore-backends=[BACKEND]` command line
214214
flag.
215215
- `needs-backends` — only runs the test if current codegen backend is listed.
216+
- `needs-offload` — ignores if our LLVM backend was not built with offload support.
217+
- `needs-enzyme` — ignores if our Enzyme submodule was not built.
216218

217219
The following directives will check LLVM support:
218220

0 commit comments

Comments
 (0)