koblas

Backend

interface Backend(source)

What every backend reports about itself, whichever half of the seam it implements.

A backend may implement any of the six halves — Blas, Lapack, VectorKernels and their sparse counterparts — and registerBackend offers it as each one it implements. The halves are ranked and selected independently, so a host that provides one library and not the other still accelerates what it can.

Inheritors

Properties

name

abstract val name: String(source)

A short backend identifier for diagnostics (e.g. "reference").

priority

open val priority: Int(source)

Relative preference among simultaneously available backends: automatic selection through registerBackend — JVM classpath discovery, native startup registration — picks the highest per half. The portable reference is 0; native-accelerated backends rank above it (koblas-openblas 100, koblas-cblas 90).