Better HN
topnewbestaskshowjobs
Log inSign up

laggui

4 karma · joined Nov 17, 2023 (3y ago) · 2 submissions

Submissions

comment 2mo ago · link · parent

For compute shaders, you can already do this with CubeCL: https://github.com/tracel-ai/cubecl

You write kernels in a Rust DSL using #[cube], it supports WebGPU through WGSL and Vulkan through SPIR-V, along with CUDA, AMD via ROCm, and Metal. (disclosure: I am a contributor)

comment 2mo ago · link · parent

And to tie this back into GPU programming, Burn's backends use CubeCL, which lets you write compute kernels in a Rust DSL using #[cube], with a JIT compiler and autotuning machinery. It targets CUDA, AMD, Metal, Vulkan and WebGPU.

(disclosure: I am a contributor)