Skip to content

Commit bce663c

Browse files
committed
Expose workgroup/thread dims as intrinsic args
1 parent cc82872 commit bce663c

1 file changed

Lines changed: 1 addition & 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")]

0 commit comments

Comments
 (0)