Intuitive syntax
Enjoy a clean, readable syntax without compromising on speed. From prototype to production, your code will be easy to understand and maintain.
A programming language for GPU computing and AI
$ curl -fsSL https://emma-lang.org/install.sh | shThe same kernel compiles to every backend. Switch targets in your build, not in your code.
One kernel, in a clean syntax that reads like Swift. From prototype to production, it stays easy to understand.
The compiler lowers it through MLIR and LLVM. Builder functions can emit hardware-specific MLIR on the way down.
The same kernel compiles for CUDA, ROCm or Vulkan.
Deploy across NVIDIA, AMD and more, at C speed.
// lowered from vectorAdd.emmagpu.func @vectorAdd(%a: memref<?xf32>, %b: memref<?xf32>, %c: memref<?xf32>) kernel { %i = gpu.global_id x %x = memref.load %a[%i] : memref<?xf32> %y = memref.load %b[%i] : memref<?xf32> %s = arith.addf %x, %y : f32 memref.store %s, %c[%i] : memref<?xf32> gpu.return}
[package]name = "vector-add"version = "0.1.0" [build]targets = ["cuda", "rocm", "vulkan"]
Enjoy a clean, readable syntax without compromising on speed. From prototype to production, your code will be easy to understand and maintain.
Effortlessly handle asynchronous operations with native support for async/await, making your code more readable and maintainable.
Easily generate hardware-optimized MLIR code at compile time, to optimize performance without sacrificing developer productivity.
Emma automatically compiles kernels for CUDA, ROCm, or Vulkan, empowering seamless deployment across NVIDIA, AMD, and more.
Develop low-level system software at C speed, with the safety, developer experience and productivity of high-level application development.
Easily migrate your code from other languages (including CUDA) to Emma, with a gradual migration path that makes it easy to adopt Emma's features and syntax.
Gradual migration
Bind existing CUDA kernels into an Emma program and call them like native Emma kernels. Port them one at a time.