Publish the pareto-residency Windows build and portable launcher

This commit is contained in:
codec_d committed 2026-11-25 22:33:14 -08:00
1 parent efeef1d65b
commit 545f89019e
20 files changed
+1671 -217

No files matched your search

+23 -2
View File
@@ -4912,7 +4912,7 @@ impl Host {
let mut telling = std::time::Instant::now();
for item in items {
telling = match item {
Late::Run(flight) => {
Late::Run(mut flight) => {
last = flight.number;
for &i in &flight.order {
read_backs(flight.lists[i].host());
@@ -4923,6 +4923,9 @@ impl Host {
if let Some(own) = flight.own {
own.landed();
}
for detached in &mut flight.lists {
detached.release_tables();
}
landed.push((flight.lists, flight.order));
crate::land::spent(crate::land::stat::READ_BACKS, telling)
}
@@ -5125,6 +5128,14 @@ impl Host {
let _ = self.submit(runs, &[], false);
}
/// Runs a closed internal upload-only host list synchronously without
/// draining title queues (`queue::before_sync`), so it is deadlock-safe
/// when invoked from `VICTORY_THIN=1` worker threads. Settles in-flight
/// GPU work and waits for the upload list's fence before returning.
pub(crate) fn execute_sync_internal(&self, list: &HostList) {
let _ = self.submit(&[list], &[], false);
}
/// A queue's submission with [`late`]: the host lists `lists`, taken
/// from the title's, go to the card in `order` and are not waited for.
/// They join the line of flights and are settled, with the others in
@@ -5382,7 +5393,7 @@ impl Host {
let mut landed = Vec::new();
for item in items {
match item {
Late::Run(flight) => {
Late::Run(mut flight) => {
last = flight.number;
for &i in &flight.order {
read_backs(flight.lists[i].host());
@@ -5390,6 +5401,9 @@ impl Host {
if let Some(card) = flight.card {
self.card_done(card);
}
for detached in &mut flight.lists {
detached.release_tables();
}
landed.push((flight.lists, flight.order));
}
Late::Write(at, what, bytes) => what.write(at as *mut u8, bytes),
@@ -6348,6 +6362,13 @@ impl HostList {
self.epoch.load(Ordering::Relaxed)
}
/// Whether any deferred steps or texture state transitions have been
/// recorded into this list since creation or its last [`HostList::reset`].
pub(crate) fn has_recorded_work(&self) -> bool {
!self.deferred().copies.is_empty()
|| !self.states.lock().unwrap_or_else(|e| e.into_inner()).is_empty()
}
/// Moves a title texture's host copy to `wanted` (a host state) in this
/// list: the host texture and the state it leaves, if that is a change.
/// The list's first use of a texture records nothing: its prelude brings