Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly list the tool used for running benchmarks #8179

Merged
merged 1 commit into from Jan 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
40 changes: 40 additions & 0 deletions benchmarks/TFLite/CMakeLists.txt
Expand Up @@ -163,6 +163,8 @@ iree_benchmark_suite(
"CPU-ARM64-v8A"
TRANSLATION_FLAGS
${ANDROID_CPU_TRANSLATION_FLAGS}
BENCHMARK_TOOL
iree-benchmark-module
DRIVER
"dylib-sync"
)
Expand All @@ -186,6 +188,8 @@ iree_benchmark_suite(
"CPU-ARM64-v8A"
TRANSLATION_FLAGS
${ANDROID_CPU_TRANSLATION_FLAGS}
BENCHMARK_TOOL
iree-benchmark-module
DRIVER
"dylib"
RUNTIME_FLAGS
Expand All @@ -212,6 +216,8 @@ iree_benchmark_suite(
# "CPU-ARM64-v8A"
# TRANSLATION_FLAGS
# ${ANDROID_CPU_TRANSLATION_FLAGS}
# BENCHMARK_TOOL
# iree-benchmark-module
# DRIVER
# "dylib"
# RUNTIME_FLAGS
Expand All @@ -236,6 +242,8 @@ iree_benchmark_suite(
# "CPU-ARM64-v8A"
# TRANSLATION_FLAGS
# ${ANDROID_CPU_TRANSLATION_FLAGS}
# BENCHMARK_TOOL
# iree-benchmark-module
# DRIVER
# "dylib"
# RUNTIME_FLAGS
Expand All @@ -260,6 +268,8 @@ iree_benchmark_suite(
"CPU-ARM64-v8A"
TRANSLATION_FLAGS
${ANDROID_CPU_TRANSLATION_FLAGS}
BENCHMARK_TOOL
iree-benchmark-module
DRIVER
"dylib"
RUNTIME_FLAGS
Expand All @@ -284,6 +294,8 @@ iree_benchmark_suite(
"GPU-Adreno"
TRANSLATION_FLAGS
${ANDROID_ADRENO_GPU_TRANSLATION_FLAGS}
BENCHMARK_TOOL
iree-benchmark-module
DRIVER
"vulkan"
)
Expand All @@ -306,6 +318,8 @@ iree_benchmark_suite(
"GPU-Mali-Valhall"
TRANSLATION_FLAGS
${ANDROID_MALI_GPU_TRANSLATION_FLAGS}
BENCHMARK_TOOL
iree-benchmark-module
DRIVER
"vulkan"
)
Expand All @@ -326,6 +340,8 @@ iree_benchmark_suite(
# This isn't a special optimization flag. It's so we can reuse the same f32
# model file. See comments on MOBILEBERT_FP16_MODULE
"--iree-flow-demote-f32-to-f16"
BENCHMARK_TOOL
iree-benchmark-module
DRIVER
"vulkan"
)
Expand Down Expand Up @@ -366,6 +382,8 @@ iree_benchmark_suite(
TRANSLATION_FLAGS
${ANDROID_CPU_TRANSLATION_FLAGS}
"--iree-llvm-loop-unrolling=true"
BENCHMARK_TOOL
iree-benchmark-module
DRIVER
"dylib-sync"
)
Expand Down Expand Up @@ -393,6 +411,8 @@ iree_benchmark_suite(
TRANSLATION_FLAGS
${ANDROID_CPU_TRANSLATION_FLAGS}
"--iree-llvm-loop-unrolling=true"
BENCHMARK_TOOL
iree-benchmark-module
DRIVER
"dylib"
RUNTIME_FLAGS
Expand Down Expand Up @@ -420,6 +440,8 @@ iree_benchmark_suite(
# TRANSLATION_FLAGS
# ${ANDROID_CPU_TRANSLATION_FLAGS}
# "--iree-llvm-loop-unrolling=true"
# BENCHMARK_TOOL
# iree-benchmark-module
# DRIVER
# "dylib"
# RUNTIME_FLAGS
Expand All @@ -445,6 +467,8 @@ iree_benchmark_suite(
# TRANSLATION_FLAGS
# ${ANDROID_CPU_TRANSLATION_FLAGS}
# "--iree-llvm-loop-unrolling=true"
# BENCHMARK_TOOL
# iree-benchmark-module
# DRIVER
# "dylib"
# RUNTIME_FLAGS
Expand All @@ -470,6 +494,8 @@ iree_benchmark_suite(
TRANSLATION_FLAGS
${ANDROID_CPU_TRANSLATION_FLAGS}
"--iree-llvm-loop-unrolling=true"
BENCHMARK_TOOL
iree-benchmark-module
DRIVER
"dylib"
RUNTIME_FLAGS
Expand All @@ -495,6 +521,8 @@ iree_benchmark_suite(
"CPU-ARM64-v8A"
TRANSLATION_FLAGS
"--iree-input-type=tosa"
BENCHMARK_TOOL
iree-benchmark-module
DRIVER
"vmvx"
RUNTIME_FLAGS
Expand All @@ -521,6 +549,8 @@ iree_benchmark_suite(
TRANSLATION_FLAGS
${ANDROID_ADRENO_GPU_TRANSLATION_FLAGS}
"--iree-enable-fusion-with-reduction-ops"
BENCHMARK_TOOL
iree-benchmark-module
DRIVER
"vulkan"
)
Expand All @@ -544,6 +574,8 @@ iree_benchmark_suite(
TRANSLATION_FLAGS
${ANDROID_MALI_GPU_TRANSLATION_FLAGS}
"--iree-enable-fusion-with-reduction-ops"
BENCHMARK_TOOL
iree-benchmark-module
DRIVER
"vulkan"
)
Expand All @@ -563,6 +595,8 @@ iree_benchmark_suite(
"--iree-flow-demote-f32-to-f16"
"--iree-vulkan-target-triple=valhall-unknown-android11"
"--iree-enable-fusion-with-reduction-ops"
BENCHMARK_TOOL
iree-benchmark-module
DRIVER
"vulkan"
)
Expand Down Expand Up @@ -599,6 +633,8 @@ iree_benchmark_suite(
${ANDROID_ADRENO_GPU_TRANSLATION_FLAGS}
"--iree-enable-fusion-with-reduction-ops"
"--iree-hal-benchmark-dispatch-repeat-count=16"
BENCHMARK_TOOL
iree-benchmark-module
DRIVER
"vulkan"
RUNTIME_FLAGS
Expand All @@ -625,6 +661,8 @@ iree_benchmark_suite(
${ANDROID_MALI_GPU_TRANSLATION_FLAGS}
"--iree-enable-fusion-with-reduction-ops"
"--iree-hal-benchmark-dispatch-repeat-count=32"
BENCHMARK_TOOL
iree-benchmark-module
DRIVER
"vulkan"
RUNTIME_FLAGS
Expand All @@ -647,6 +685,8 @@ iree_benchmark_suite(
"--iree-vulkan-target-triple=valhall-unknown-android11"
"--iree-enable-fusion-with-reduction-ops"
"--iree-hal-benchmark-dispatch-repeat-count=32"
BENCHMARK_TOOL
iree-benchmark-module
DRIVER
"vulkan"
RUNTIME_FLAGS
Expand Down