Rate This Document
Findability
Accuracy
Completeness
Readability

Help Information

Help command: llvm-autotune -h. The execution format of the llvm-autotune is as follows:

1
llvm-autotune [-h] {minimize,maximize,feedback,dump,finalize}

Optional instructions:

  • minimize: initializes tuning and generates an initial compiler configuration file to minimize indicators (such as running time).
  • maximize: initializes tuning and generates the initial compiler configuration file to maximize indicators (such as throughput).
  • feedback: feeds back the performance tuning result and generates new compiler configuration.
  • dump: generates the optimal configuration without stopping tuning (feedback can be continued).
  • finalize: stops tuning and generate the optimal compiler configuration (feedback cannot be executed).

Help information.

  • --help/-h
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
usage: llvm-autotune [-h] {minimize,maximize,feedback,dump,finalize,generate-func-param,rank} ...

positional arguments:
  {minimize,maximize,feedback,dump,finalize}
    minimize            Initialize tuning and generate the initial compiler
                        configuration file, aiming to minimize the metric
                        (e.g. run time)
    maximize            Initialize tuning and generate the initial compiler
                        configuration file, aiming to maximize the metric
                        (e.g. throughput)
    feedback            Feed back performance tuning result and generate a new
                        test configuration
    dump                Dump the current best configuration without
                        terminating the tuning run
    finalize            Finalize tuning and generate the optimal compiler
                        configuration
    generate-func-param
                        Convert llvm-param/program-param to function-param and generate a new config.yaml file.
    rank                Use ML model to predict speedups of configs and return best ones.

optional arguments:
  -h, --help            show this help message and exit