diff --git a/timing-mre.html b/timing-mre.html index 825cdb1..b23846f 100644 --- a/timing-mre.html +++ b/timing-mre.html @@ -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);