Skip to content

Commit

Permalink
added (commented-out) suggestion from kbr@, did not have an effect wh…
Browse files Browse the repository at this point in the history
…en I tested it
  • Loading branch information
John Owens committed Oct 23, 2024
1 parent 9eccac9 commit 6b183f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions timing-mre.html
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,8 @@
// Finish encoding and submit the commands
const command_buffer = encoder.finish();
device.queue.submit([command_buffer]);
// kbr@ suggested the following line, which had no effect on M3 [23 Oct 2024]
// await device.queue.onSubmittedWorkDone();

// Read the results
await mappableMemdstBuffer.mapAsync(GPUMapMode.READ);
Expand Down

0 comments on commit 6b183f5

Please sign in to comment.