|
await primitive.execute({ |
This line is executed repeatedly when running multiple trials (params.trials > 1), but the underlying atomic buffers are not cleared. As a result, atomics may accumulate values, causing decreasing performance or incorrect results after several runs.
I’ve attached a screenshot showing the atomic values of spineBuffer and scanBump over multiple trials for reference.
Possible solution: Clear atomic buffers after each trial
After clearing it :
