Last updated: 2026-11-17

CLI & Entrypoints

CLI Help

All API Sections

Backend-specific CLI help, rendered without initializing a GPU.

Renders the compiled backend's device selection, context defaults and serving capabilities. Pure string generation keeps all four variants CPU-testable.

1 exports 1 methods src/cli_help.zig

1 exports shown

enum

Backend

#
pub const Backend = enum vulkan, metal, rocm, cuda }

No public doc comment yet.

src/cli_help.zig:7

Methods

1

method

Backend.render

#
pub fn render(comptime backend: Backend, full: bool) []const u8

Keep short and full help on the same source text.

The ROCm/CUDA orchestration has different defaults and endpoints from the Vulkan/Metal server.

src/cli_help.zig:11