From c31062dc2de9da0823ca03082bd55c4096fee682 Mon Sep 17 00:00:00 2001 From: Siva Rama Krishna Reddy B Date: Mon, 2 Jan 2023 16:55:29 +0530 Subject: [PATCH] [BENCHMARKS][ADRENO] Documentation for Adreno (Texture) benchmarks Steps to teproduce Adreno (Texture) benchmarks via adreno docker on given device. --- apps/benchmark/README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/apps/benchmark/README.md b/apps/benchmark/README.md index 43d93d9e00fa..ccac79df47d8 100644 --- a/apps/benchmark/README.md +++ b/apps/benchmark/README.md @@ -37,7 +37,8 @@ It is recommended that you run tuning by yourself if you have your customized ne Please follow the tutorial for [NVIDIA GPU](https://tvm.apache.org/docs/tutorials/autotvm/tune_conv2d_cuda.html), [ARM CPU](https://tvm.apache.org/docs/tutorials/autotvm/tune_relay_arm.html), -[Mobile GPU](https://tvm.apache.org/docs/tutorials/autotvm/tune_relay_mobile_gpu.html). +[Mobile GPU](https://tvm.apache.org/docs/tutorials/autotvm/tune_relay_mobile_gpu.html) and +[Adreno GPU](https://www.qualcomm.com/products/features/adreno). ### NVIDIA GPU @@ -127,3 +128,16 @@ Build TVM with LLVM and ROCm enabled. [Help](https://tvm.apache.org/docs/install ```bash python3 gpu_imagenet_bench.py --model gfx900 --target rocm ``` + +### Adreno GPU + +Adreno benchmarks are automated over the docker - [ci_adreno](https://github.com/apache/tvm/blob/main/docker/Dockerfile.ci_adreno). +Adreno docker share the Android devices from host. It is adviced to have host adb version same as docker, which is ```1.0.41``` + +Below command runs all the benchmarks over given Android device. +```bash +export ANDROID_SERIAL= +./tests/scripts/ci.py adreno -b +``` + +Note: Tuning cache is implicite through tophub repo for all the benchmarks and is tuned over Snapdragon Gen 1.