One codebase.More hardware choices.
Write your compute kernels in Rust. CubeCL translates them for different GPUs and CPUs, so you can reuse the same logic across hardware backends.
Open source · Apache 2.0 / MIT · By Tracel
Explore six alternative hardware paths through CubeCL. Open Rust to read the illustrative square.rs kernel using the 0.10 API. Equal-length buffers, device setup, and launch code are required to run it. The illustration does not execute or compile Rust.
- 01Write in Rust
- 02Specialize & compile
- 03Run on your device
Core features
Get more from your hardware.
Get started
Go as low as you need.
CubeCL is in alpha and its public API is evolving. Pin your dependency version when building with it.
All third-party product names and logos are trademarks or registered trademarks of their respective owners. They are used for identification only and do not imply affiliation with or endorsement of Tracel. WebGPU logo by W3C, used under CC BY 4.0.



