News for hackers. Stuff that matters.
Re:CubeCL: GPU Kernels in Rust for CUDA, ROCm, and WGPU by DarkmSparks on Thursday April 24, 2025 @08:08AM (#43781744)
wow, what's the downsides to this? It feels like it could be one of the biggest leaps in programming in a long time, does it keep rusts safety aspects? How does it compare with say openCL?
Re:CubeCL: GPU Kernels in Rust for CUDA, ROCm, and WGPU by nathanielsimard on Thursday April 24, 2025 @01:20PM (#43785168)
We have safe and unsafe version for launching kernels where we can ensure that a kernel won't corrupt data elsewhere (and therefore won't create memory error or segfaults). But within a kernel ressources are mutable and shared between GPU cores, since that's how GPUs work.