Skip to content

Commit 545f281

Browse files
authored
Merge pull request #2717 from rust-lang/rustc-pull
Rustc pull update
2 parents ea0102c + 19e4d42 commit 545f281

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7fefa09b90ca57b8a0e0e4717d672d38a0ae58b5
1+
85c8ff69cb3efd950395cc444a54bbbdad668865

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)