Skip to main content

Module generate_fixture

Module generate_fixture 

Source
Expand description

dsfb-gpu-debug generate-fixture — synthesize the canonical 10 000-event trace fixture and write it to disk in canonical-JSON form.

Flags:

  • --out PATH (required): destination JSON path.
  • --seed HEX_OR_DEC (optional, default 0xD5FBD5FBD5FBD5FB): the LCG seed. Same seed always produces the same fixture bytes.

Exit codes:

  • 0 — wrote file successfully.
  • 1 — usage error.
  • 5 — I/O failure writing the output.

Functions§

parse_and_run
Parse argv tail and run the generate-fixture command.