Skip to content
Type to get suggestions. Enter to open. ↑↓ to navigate.

Compiler Quickstart

Install the compiler, create a file, run it. Targets include PTX (NVIDIA), HIP (AMD), and Metal (macOS).

1) Install

Download
# TODO: paste the exact install steps for each OS (no guesses).

2) Create a file

// main.ark
fn[gpu] main() -> void {
  print("hello, ark");
}

3) Run

# Run a .ark file
ark run main.ark
Next: Registry QuickstartNext: Language Tour