-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Lat is a tool for code autotuning, built using LARA (a Javascript based language that supports source code transformations) and applied using the Clava tool . It is designed for C/C++. With it, coders may test multilple variants of their code dynamically and then choose the best variant to ship their code.
Lat mimics Intel Software Autotuning Tool (ISAT) behaviour for testing multiple instances of the same code. However, it is build entirely on LARA. Because of this it is platform agnostic and can be more flexible and easier to expand, both in functionalities and languages (not only C and C++).
Start by looking at our Examples, once you get a grip of how Lat works, you can read the Setup Guide and then check the API reference.
- The user specifies the Lat variable and its configurations;
- The user runs the autotuning tool with
latInstance.tune();
- For each variant points 4 to 8 are executed:
- Insert the new variables value accordingly into the code;
- Insert the timer instructions in the code;
- Compile and execute the code;
- Read the time output from the execution;
- Save the values to the results file;
- Clear the generated code (if this config is enabled);
- Display the results.
Visit SPeCS Website for more information. Made with ❤️ @ feup.