- Developers Tutorial 01: a simple assignment example (1D loop).
- Developers Tutorial 02: another simple example (2D loop).
- Developers Tutorial 03: a simple sequence of computations.
- Developers Tutorial 04A: a matrix multiplication example.
- Developers Tutorial 04B: an example of two successive matrix multiplications.
- Developers Tutorial 04gpu: an example of a matrix multiplication mapped to GPU.
- Developers Tutorial 04gpu2: GPU matrix multiplication with high level API.
The rest of the tutorials is written using the low level Tiramisu API (most users do not need to learn the low level API).
- Developers Tutorial 05: an example of a reduction operation.
- Developers Tutorial 06: an example of an update operation.
- Developers Tutorial 07: a complicated example of reduction and an update.
- Developers Tutorial 08: tutorial 02 written using the low level Tiramisu API (this API allows full control over code generation).
In addition, a tutorial for how to use the autoscheduler can be found in tutorial_autoscheduler.
More examples can be found in the tests folder. Please check the README file for a full list of examples for each Tiramisu feature.
To run all the tutorials, assuming you are in the build/ directory
make tutorials
To run only one tutorial from the developers tutorials (developers/tutorial_01 for example)
make run_developers_tutorial_01
This will compile and run the code generator and then the wrapper.