Docs / jax4j-core / com.nablatensor.jax4j.tensor

final class

BackendRegistry

Discovers ComputeBackend implementations and resolves them by selector/device.

Methods

static List<ComputeBackend> all()
static List<ComputeBackend> available()

All backends that report themselves available in the current runtime environment.

static ComputeBackend defaultBackend()

The default backend: the one named by -Dnablatensor.backend=<name> / JAX4J_BACKEND if that backend is present and available, otherwise, when no backend is pinned, the highest-priority available backend (CUDA > ROCm > Vulkan > SIMD > CPU).

static ComputeBackend forSelector(Backend selector)
static ComputeBackend forDevice(Device device)