Docs / nablatensor-engine-cpu / com.nablatensor.engine.cpu

final class

CpuAadEngine

Scalar JVM engine. Lowest priority of all (10 — below cpu-jit at 25), so it is selected only when nothing else is available, or when asked for by name — which is exactly what a verification run wants, since it shares no code with the generated kernels and is the tape interpreter the others are checked against.

It answers in whichever precision it is asked for, so it is the oracle for an fp32 accelerator run as well as an fp64 one; see ScalarReplay for what single precision means for an interpreter.

Methods

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