Skip to content

Commit

Permalink
Track Adreno GPU performance for TFLite/TOSA models (iree-org#6952)
Browse files Browse the repository at this point in the history
  • Loading branch information
antiagainst authored Sep 3, 2021
1 parent e0851e3 commit 5b4e3e4
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions benchmarks/TFLite/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,29 @@ iree_mlir_benchmark_suite(
"--task_topology_group_count=1"
)

# GPU, Vulkan, Adreno, full-inference
iree_mlir_benchmark_suite(
MODULES
${MOBILENETSSD_FP32_MODULE}
${POSENET_FP32_MODULE}
${DEEPLABV3_FP32_MODULE}

BENCHMARK_MODES
"full-inference"
TARGET_BACKEND
"vulkan-spirv"
TARGET_ARCHITECTURE
"GPU-Adreno"
TRANSLATION_FLAGS
"--iree-input-type=tosa"
"--iree-vulkan-target-triple=adreno-unknown-android11"
"--iree-flow-inline-constants-max-byte-length=2048"
#"--iree-flow-dispatch-formation-enable-operand-fusion"
"--iree-enable-fusion-with-reduction-ops"
DRIVER
"vulkan"
)

# GPU, Vulkan, Mali, full-inference
iree_mlir_benchmark_suite(
MODULES
Expand Down

0 comments on commit 5b4e3e4

Please sign in to comment.