Rust-GPU / Rust-CUDA

Ecosystem of libraries and tools for writing and executing fast GPU code fully in Rust.
Apache License 2.0
3.02k stars 115 forks source link

Make DeviceSlice a newtype around [()] #44

Open beepster4096 opened 2 years ago

beepster4096 commented 2 years ago

This fixes some unsoundness and fixes some of DeviceSlice's methods and docs not making any sense (such as from_raw_parts_mut)

beepster4096 commented 2 years ago

Alright, changelog is upodated and merge conflicts are resolved