mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-08 16:36:14 +00:00
When extending the batch for multiple copies, we need to remember to flag it as being in the CPU write domain so that the new values get flushed out to main memory before execution. We also have to be careful not to specify NO_RELOC for the extended batch as the execobjects will have been updated but we write the wrong presumed offsets. Subsequent iterations will be correct and we can tell the kernel then to skip the relocations entirely. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
These benchmarks are designed to be used from within a benchmark framework like http://cgit.freedesktop.org/~mperes/ezbench/. A typical way to run them would be: $ ~/ezbench/ezbench.sh -p ./linux,git -m '' -b gem: -r 15 which executes the set of gem benchmarks, 15 times each, using HEAD of ./linux.git as the reference commit.