Skip to content
Snippets Groups Projects

tests/bench: flush after every iteration

Merged Niklas Haas requested to merge haasn/libplacebo:fix_bench into master
  1. Sep 19, 2023
    • Niklas Haas's avatar
      tests/bench: flush after every iteration · feba676f
      Niklas Haas authored
      The whole point of pl_gpu_flush() is to commit work to the GPU and
      rotate queues, there is literally no point in holding on to work like
      this besides the miniscule amount of submission overhead. It also
      completely destroys the parallelism that we get from async compute.
      
      Fixes: #306
      feba676f
Loading