#cubecl #bindings #mlir #llvm

sys tracel-mlir-sys

Rust bindings for MLIR C API used by CubeCL

5 releases

Uses new Rust 2024

20.1.4-5 Sep 25, 2025
20.1.4-4 Sep 24, 2025
20.1.4-2 Sep 23, 2025
20.1.4-1 Sep 19, 2025

#1191 in Development tools

Download history 102/week @ 2025-09-14 570/week @ 2025-09-21 513/week @ 2025-09-28 587/week @ 2025-10-05 697/week @ 2025-10-12 729/week @ 2025-10-19 1611/week @ 2025-10-26 2077/week @ 2025-11-02 2808/week @ 2025-11-09 2535/week @ 2025-11-16 2764/week @ 2025-11-23 2880/week @ 2025-11-30 3274/week @ 2025-12-07

11,682 downloads per month
Used in 57 crates (2 directly)

MIT license

20KB
176 lines

Tracel LLVM

The purpose of this repository is to provide an interface to MLIR from Rust for the CubeCL backend and support only one version at a time that is bundled automatically at compilation.

Publish a new release

Dispatch the workflow Release manually by providing it with the LLVM tag and release number.

The workflow will create a new release named v{LLVM_TAG}-{RELEASE_NUMBER}.

Note: Currently the workflow does not build the MacOS archive. It must be built manually by executing the script ./build_llvm.sh at the root of the repository. It will create an archive at .llvm/macos-AArch64.tar.xz. Edit the GitHub release and upload this archive to it manually.

Third-Party Acknowledgments

This workspace incorporates code from the following external repositories. Each retains its original license and copyright notices, as detailed in the COPYRIGHT file:

Please refer to the COPYRIGHT file for full license texts and copyright information.

No runtime deps

~0–5MB
~79K SLoC