We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73a8793 commit fed1a00Copy full SHA for fed1a00
1 file changed
oneapi-rs/tests/alloc.rs
@@ -14,7 +14,7 @@ fn shared_allocation_host_values() {
14
let mut buffer = unsafe { queue.alloc_uninit_shared::<u32>(10) };
15
16
for (index, value) in buffer.iter_mut().enumerate() {
17
- *value = index as u32;
+ *value = index as u32;
18
}
19
20
assert_eq!(buffer.as_ref(), &[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]);
0 commit comments