dace_executable
DaceExecutable
dataclass
Translate GT4Py-frozen parsed SDFG into an executable (dynamics lib) and its marshalled arguments for fast execution.
arguments = None
class-attribute
instance-attribute
Arguments as C-ready pointers
backend
instance-attribute
Backend the executable is build for
compiled_sdfg
instance-attribute
Loaded compiled SDFG. Allowed to be None only when using from_serialized_bundle
mode
instance-attribute
Orchestration mode the executable is built under
name
instance-attribute
DaCe program name
original_unoptimized_sdfg = None
class-attribute
instance-attribute
Optional: Unoptimized SDFG coming from GT4Py-frozen stencils + parsing.
performance_collector
instance-attribute
Performance timer used to time runtime operations (overhead and numerics)
from_serialized_bundle(bundle_dir, *, do_compile=True)
classmethod
Read a serialized bundle and ready the system for replay.
replay(*, bench=False)
Replay executable using last cached arguments
run(dace_program, args, kwargs)
Execute the loaded executable with as little overhead as possible
serialize()
Serialize arguments and code for blind replayability using replay
Only serialize the rank 0