| # Copyright 2022 The IREE Authors |
| # |
| # Licensed under the Apache License v2.0 with LLVM Exceptions. |
| # See https://llvm.org/LICENSE.txt for license information. |
| # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| |
| steps: |
| - label: ":stopwatch: Benchmark on Intel Cascade Lake CPU (GCP-c2-standard-16)" |
| key: "run-x86_64-benchmark-gcp-cpu" |
| commands: | |
| git clean -fdx |
| buildkite-agent artifact download \ |
| "benchmark-suites-linux-x86_64-$${BUILDKITE_BUILD_NUMBER}.tgz" ./ |
| buildkite-agent artifact download \ |
| "iree-linux-tools-$${BUILDKITE_BUILD_NUMBER}.tgz" ./ |
| tar -xzvf "benchmark-suites-linux-x86_64-$${BUILDKITE_BUILD_NUMBER}.tgz" |
| tar -xzvf "iree-linux-tools-$${BUILDKITE_BUILD_NUMBER}.tgz" |
| python3 build_tools/benchmarks/run_benchmarks_on_linux.py \ |
| --device_model=GCP-c2-standard-16 \ |
| --cpu_uarch=CascadeLake \ |
| --normal_benchmark_tool_dir=build-linux/tools/ \ |
| -o "benchmark-results-gcp-cpu-$${BUILDKITE_BUILD_NUMBER}.json" \ |
| --verbose \ |
| build-targets/linux-x86_64 |
| agents: |
| - "gcp:machine-type=c2-standard-16" |
| - "queue=benchmark-x86_64" |
| artifact_paths: |
| - "benchmark-results-gcp-cpu-${BUILDKITE_BUILD_NUMBER}.json" |
| timeout_in_minutes: "20" |