mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-04 15:28:40 +00:00
On two Battlemage cards the engine pipelines the two cards' verify windows by default, and then answers as a 2-token window whatever --spec says (pipelined --spec 4 equals serial --spec 2 in 100 of 100 agent requests; serial --spec 4 differs in 3). So the generated config says --spec 2 there: the same answers, and about 20% faster than the old --spec 4. strata_control/intel_spec.py holds the rule: the cards are found by PCI device id (the xe driver and an id in 0xE200-0xE2FF, the id the engine's architecture enum comes from), never by name. It changes only setup's own default "--spec 4", only with the draft layer on, and only for exactly two such cards. A --spec in "user_args", any other value, one card, an A-series card in the pair, three cards and "mtp": false are left alone. Applied in three places: sycl/setup_intel.py when it writes the run config of a layer split (the copy in "args_written" follows, so a rerun does not take it for a hand edit), the launcher's derive_config (before the person's --set options, which win), and the Intel server's engine_args at every start (a config an older setup wrote). Tests in tests/sycl/test_intel_two_card_spec.py.