v5.01

cloudflare/artifact-fsv5.01Jul 14, 2026by Zaneham

AI Summary

The project rebranded from BarraCUDA to 'Booth' (binary `kath`) and introduced significant CPU compilation capabilities, allowing kernels to run on machines without GPUs. The project improved diagnostics to match Clang's style and enabled native code generation for RISC-V.

Key Highlights

  • Rebranding to 'Booth' (binary `kath`)
  • CPU compilation support for x86-64 and RV64
  • Native machine code generation for RISC-V cores
  • Inlining of `__device__` calls
  • Clang-style diagnostics

Breaking Changes

  • Binary name changed from BarraCUDA to kath

New Features

  • Scalar arithmetic support on CPU side
  • Support for `__hip_bfloat16` and `warpSize` builtins
  • Coverage support
  • PTX header ASCII preservation
  • Clang-style diagnostics

Full Release Notes

So long, and thanks for all the fish.

BarraCUDA was a good pun and a bad description, so it swam off: the compiler is Booth now, the binary is `kath`, and the version jumps to mark the line. This is the first release under the new name.

Since 0.5 the compiler grew a spine on the CPU side. x86-64 and RV64 both gained most of their scalar arithmetic, so a CUDA, HIP or Triton kernel now compiles and runs on a machine with no GPU in it at all. Tensix learned to emit native machine code for the baby RISC-V cores instead of leaning on a C++ handoff. `__device__` calls are inlined away before isel, so device helpers with control flow finally work on the GPU and vector backends. Diagnostics were rebuilt to read like Clang's, carets and colour and all, and the frontend picked up a pile of coverage.

Thanks to the people who sent patches this cycle: @GauthamMK-0 for `__hip_bfloat16` and the `warpSize` builtin, @nataliakokoromyti for lowering `tl.where` to select and keeping the PTX header ASCII, and @kstppd for fixing the Makefile on non-x86 machines. Much appreciated.