Docs / nablatensor-core / com.nablatensor.engine

record

AadOptions

Replay kernel settings.

Record components

precision
Precision
adjoints
boolean
threads
int
jit
JitOptimizations
engineOptions
Map<String, Map<String, String>>

Constructors

AadOptions(Precision precision, boolean adjoints, int threads, JitOptimizations jit)
AadOptions(Precision precision, boolean adjoints, int threads)
AadOptions(Precision precision, boolean adjoints)

Methods

static AadOptions defaults()
AadOptions withPrecision(Precision value)
AadOptions withAdjoints(boolean value)
AadOptions withThreads(int value)
AadOptions withJit(JitOptimizations value)
AadOptions withEngineOption(String engine, String key, String value)

This, plus one tuning option for the named engine.

Map<String, String> engineOptions(String engine)

The tuning options for one engine; never null.

int resolvedThreads()

Resolved worker count, with 0 meaning one per available processor.