Files
Strata/engine
Niko1221 f4eb3bada1 ling32: on Windows the replan after --mtp-auto dropped the sidecar starts from the capped options of the first plan
On Windows the first plan cuts the RAM tier to what the GPU driver can pin (about half of the system RAM, "the RAM tier is planned within 15.3 GiB"), in a copy of the options (plan_opts). When --mtp-auto then decides that the sidecar does not pay, the plan was made again from the plain options and the cap was lost: a 32 GB RAM B70 PC pinned 16.9 GiB and every device allocation after the tier store failed with UR_RESULT_ERROR_OUT_OF_DEVICE_MEMORY, then DEVICE_LOST ("strata-ling32: cudaMemset: SYCL runtime error" at Load). Without the MTP flags there is no second plan and the cap held (12.4 to 13.4 GiB pinned: Load fine).

The replan now starts from plan_opts (hoisted next to win_pin_cap) with only the sidecar removed (mtp_file cleared, spec off), so it keeps the RAM budget of the first plan. The change is inside _WIN32: Linux, macOS and aarch64 compile the same code as before.
2026-12-03 11:22:30 +01:00
..
2026-12-03 03:59:50 +01:00