Skip to main content
Runs the full Enigma compilation pipeline and returns a CompiledKernel.

Signature

Parameters

Returns: CompiledKernel

Attributes

Methods

export_metal(path: str) -> str

Write the generated Metal source to a file. Returns the resolved path.

Usage

Compiling a @enigma.kernel

With debug output

Vectorized compilation

Compiling a @enigma.jit function

Pass the Tensor arguments that the JIT function receives at compile time:

Errors