diff options
-rw-r--r-- | tests.d/gem/gem_blt.test | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tests.d/gem/gem_blt.test b/tests.d/gem/gem_blt.test new file mode 100644 index 0000000..2ea48f6 --- /dev/null +++ b/tests.d/gem/gem_blt.test @@ -0,0 +1,30 @@ +test_exec_time=2 + +[ -e $IGT_BENCHMARKS/gem_blt ] || return 1 +sudo -n true || return 1 + +while read size batch count label; do + name="gem:blt:copy:${label}" + test_name="$test_name $name" + eval "${name}_run() { sudo $IGT_BENCHMARKS/gem_blt -r \$1 -s $size -c $count -b $batch; }" +done<<SIZES +4096 1 1 4KiBx1x1 +4096 64 1 4KiBx64x1 +4096 1 64 4KiBx1x64 +4096 64 64 4KiBx64x64 +4096 4096 1 4KiBx4096x1 +4096 1 4096 4KiBx1x4096 +4096 4096 4096 4KiBx4096x4096 +131072 1 1 128KiBx1x1 +131072 64 1 128KiBx64x1 +131072 1 64 128KiBx1x64 +131072 64 64 128KiBx64x64 +131072 1024 1 128KiBx1024x1 +131072 1 1024 128KiBx1x1024 +4194304 1 1 4MiBx1x1 +4194304 32 1 4MiBx32x1 +4194304 1 32 4MiBx1x32 +4194304 32 32 4MiBx32x32 +4194304 1024 1 4MiBx1024x1 +4194304 1 1024 4MiBx1x1024 +SIZES |