Docs / jax4j-engine-vulkan / com.nablatensor.jax4j.engine.vulkan

final class

VulkanAadKernel

A recorded tape compiled into a Vulkan compute pipeline and replayed one scenario per invocation.

Recording and SPIR-V compilation happen once, in compile; after that a replay costs one (or, for very large batches, a handful of) vkCmdDispatch submissions plus a small per-workgroup read-back, no matter how many scenarios it covers. Inputs are storage-buffer contents rather than baked-in constants, so setInput re-values a shifted parameters with no re-record and no re-compile.

Methods

static boolean vulkanAvailable()
static String vulkanDeviceName()
static VulkanAadKernel compile(AadTape tape, AadOptions options)
String engineName()
double compileSeconds()
protected double defaultMaxChunkSeconds()

RADV on a shared-memory APU has no display-driver watchdog as aggressive as NVIDIA's TDR, but the kernel DRM scheduler still has a hang check in the seconds range, so a dispatch is kept about an order of magnitude below it.

AadResult replay(long paths, long pathOffset, long seed)
void close()