跳转到内容
查看源码

entelechy replay自动生成

用脚本化的帧与输入驱动场景并做检查(回放测试)。

终端窗口
replay <file.replay>...

Drive scenes through scripted frames and inputs and check pixels.

flag 取值 可重复 说明
--backend cpu|gpu|jit 否 The backend the replays run on.
--round-apart `` 否 Runs each replay three ways, some Kernels rounding as another device might; what fails is a value two Kernels each compute and must hold equal.
--no-fusion `` 否 Runs pointwise producers apart from their consumers.
--profile `` 否 Times each replay’s nodes, its outputs evaluated every frame: each node’s time a frame over the frames after the first; and each Kernel’s preparing, its compiling and its building.
--watch `` 否 Keeps the replays’ sessions and plays again, as documents, inputs and replay files change, only the replays a change reaches, those that failed last first.
--out <dir|file.wav> 否 Records one replay’s frames as render records its own: a directory for each picture and the sound, or a .wav file for the sound alone.
--sound-rate <hz> 否 The rate the recorded sound is written at (48000 by default).
--memory <MB> 否 Mebibytes of Fields the Host may hold at once (2048 by default).
--work <M> 否 Million loop iterations one run of a Kernel may take (4000 by default).
--small <operations> 否 Operations a run may take, by its elements and its Kernel’s typical work, and go to the processor rather than the device (400000 by default; 0 keeps every run on the device).