---
title: 运行方式说明
description: "Autotuner目前有两种使用方式，并对应两种不同的命令行工具llvm-autotune和auto-tuner。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengdevps/compilation/ug-bisheng/kunpengbisheng_20_0011.html
sourcePath: /source/zh/kunpengdevps/compilation/ug-bisheng/kunpengbisheng_20_0011.html
indexId: 3c0814a04f0146277606cd5047d94efd1cc9eb4c69b2c6b73cf0d34174ff85c774
---
# 运行方式说明

Autotuner目前有两种使用方式，并对应两种不同的命令行工具llvm-autotune和auto-tuner。

- llvm-autotune采用让用户主导调优过程的方式，提供辅助功能与编译器合作使用。相比auto-tuner繁琐的配置流程，极大简化了配置调优的步骤，可开箱即用，因而更推荐使用。
- auto-tuner为传统调优方式，主导管理整个调优过程。用户需要先适配好配置文件来设定调优过程中的各种细节，其中包括如何编译、运行、获取性能信息以及可调参数等。

我们将以coremark为示例展示如何运行自动调优，毕昇编译器的发布包里没有自带coremark，请从社区获取coremark(https://github.com/eembc/coremark)。更多llvm-autotune的详细用法，请参阅使用方法章节。
