Docs / nablatensor-engine-simd / com.nablatensor.engine.simd

final class

SimdAadEngine

SIMD engine, sitting between CUDA and the scalar fallback in priority.

Deliberately contains no reference to any jdk.incubator.vector type: the Vector API is an incubating module that is absent from the module graph unless the JVM was started with --add-modules jdk.incubator.vector. Were the types named here, merely enumerating the available engines on a JVM without that flag would fail to link this class. Everything that touches the API therefore lives in SimdSupport and the two typed sweeps, which are only resolved after isAvailable() has confirmed the module is present.

Methods

String name()
int priority()
boolean isAvailable()
boolean supports(AadOptions options)
String describe()
AadExecutable compile(AadTape tape, AadOptions options)