What goes up to card copies: a check, and fetches caught in between put right
VICTORY_FETCH_CHECK=1 (off by default): with VICTORY_RELAY_COPY a piece is fetched beside later submissions, and one of those that clears it and fills it again with the same is not flagged by its compare: title memory and the CPU's side kept what was in between, and the next refresh of the 64 KiB sent it up over the right bytes. The compare now gives the piece's hash with its flag; a fetch that is not that is made again by the next flight that may write the piece. (The test shows 11-12 of 12 wrong without it.) VICTORY_UPCOPY_CHECK=1 (diagnostics): at each send up, the words that the title did not change and the card holds another value of; every few seconds at rest, the words in which a copy's card side is not its CPU side, and whether they were declared as written and fetched. victory replay --upcopies: the same question of a captured frame, and which pieces were written undeclared (replay1 and replay2: compute 82a2ad6d07417d36 through views picked by index, 73-75 pieces a frame). Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
da89c8a5a9
commit
f86aae992a
10 files changed
+1688
-54
No files matched your search
@@ -111,6 +111,11 @@ pub(crate) struct Replay {
|
||||
/// Name resources the frame changes that the replay does not put back.
|
||||
#[arg(long)]
|
||||
check_written: bool,
|
||||
/// Run the frame twice and say which words the copies of the CPU's sides
|
||||
/// of card buffers bring that the card holds another value of, and what
|
||||
/// shaders wrote that was not declared as written.
|
||||
#[arg(long)]
|
||||
upcopies: bool,
|
||||
/// Name what the heap slots hold that a command's constants name:
|
||||
/// `<list>:<command>`.
|
||||
#[arg(long)]
|
||||
@@ -182,6 +187,10 @@ pub(crate) fn run(r: Replay) -> Result<()> {
|
||||
let mut player = play::Player::load(&r.folder, &options)?;
|
||||
return player.check_written(&mut |line| println!("{line}"));
|
||||
}
|
||||
if r.upcopies {
|
||||
let mut player = play::Player::load(&r.folder, &options)?;
|
||||
return player.upcopies(&options, &mut |line| println!("{line}"));
|
||||
}
|
||||
let mut watched = Vec::new();
|
||||
for text in &r.watch {
|
||||
let mut n = text
|
||||
|
||||
Reference in new issue
Block a user