Synopsis

This software package contains the Auto Tuning Optimization System (ATOS) tools.

Travis CI build Travis CI build status

Overview

To easily install the ATOS software packages and all its dependencies, please go to the atos-build project and follow the instructions described here.

After installation the following tools are available:

Examples

Execute 'make examples' for an example exploration on two version of sha1sum (C and C++ versions). It will do the exploration and open the optimization space graph. See the INSTALL file if any trouble.

Usage

A simple usage of the atos-explore tool is to provide a script for building the application (compile.sh for instance) and a script for running the benchmarks (exec.sh for instance), then run the atos-explore tool: For instance:

atos-explore -b ./compile.sh -r ./exec.sh
....
Best Size configuration: ...
Best Performance configuration: ...

Then in order to choose your best trade-off configuration run the atos-graph tool:

atos-graph
... display trade-off graph

By clicking on the best trade-off point that you choose on the drawn optimization space frontier, get the local_id and pass it to atos-play.

Last, in order to replay the build for your chosen configuration local_id:

atos-play -l <local_id>
... compile your application for your chosen best trade-off

Or simply for best size or best perf:

atos-play -f time
... compile your application for best performance
atos-play -f size
... compile your application for best code size