GPU: a split submission's lists give their descriptor tables' slots back (#1320)

The lists a split submission runs at once are not detached, so nothing
returned their fresh tables' dynamic slots before the title reset them:
a long run lost descriptor slots it never got back. `submit_cut` already
does this after the same `execute`, for the same reason.

Ported from fxceless/victory-fork af23c65 (fork pull request #1320).

(cherry picked from commit 7eb4441181f06a4d5d466cf7fc242c1427462d32)
This commit is contained in:
cccw authored and trustno1-coder committed 2026-11-27 17:51:23 -08:00
1 parent 2cffd2dfba
commit 1d3b4143ab
1 file changed
+6
+6
View File
@@ -244,6 +244,12 @@ fn submit_split(this: This, lists: &[This]) {
.filter_map(|&l| crate::list::host_list(l))
.collect();
host.execute(&now);
// They have run: their descriptor tables' slots are free again, as
// in `submit_cut` (which does this after the same call, for the
// same reason: the lists are not detached here, so nothing else
// gives their fresh tables' dynamic slots back before the title
// resets them).
crate::list::tables_done(&lists[..cut]);
}
if cut < lists.len() {
static SEEN: AtomicU64 = AtomicU64::new(0);