Skip to content

Commit

Permalink
doc(wiki)[tools]: optimizer
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasrothenberger committed Jan 10, 2024
1 parent 6ed6dda commit eabeda1
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion docs/tools/Optimizer.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,28 @@ parent: Tools
nav_order: 5
---

TODO
# DiscoPoP Optimizer
## Executable
`discopop_optimizer`

## Purpose
- Propose a mapping of the parallel patterns identified by the [DiscoPoP explorer](../tools/Explorer.md) to various devices available to the system.
- Identify and report optimizations for the identified patterns (e.g. adding a `collapse(3)` clause to parallel loops).
- Create a beneficial combination of potentially multiple patterns to achieve a improved speedup and remove the need to manually select combinable patterns.

## Required input
- [Filemapping](../data/Filemapping.md)
- [Profiling and instrumentation output](../data/Profiling_and_instrumentation_output.md)
- Parallel patterns created by [DiscoPoP explorer](../tools/Explorer.md)

## Optional input
- System information and overhead measurements obtained via the [OpenMP Microbenchmark suite](https://github.com/discopop-project/OpenMP-Microbench)

## Output
Identified optimizations and combinations are stored by extending the original set of [parallel patterns](../data/Parallel_patterns.md). The updated set is stored in a file named `.discopop/optimizer/patterns.json` by default. Similar to the original set of patterns, these can be imported by various other tools in the framework.

## Note
For a more detailed description of the available run-time arguments, please refer to the help string of the respective tool.
```
discopop_optimizer --help
```

0 comments on commit eabeda1

Please sign in to comment.