Optimized operators for HyTeG
This repository contains optimized elementwise operators for HyTeG. The code under operators is generated using the HOG. Each kernel has a platform independent and, where applicable, an AVX-vectorized version. The desired variant is configured in CMake.
All operators are described declaratively in operators-<operator-group>.toml
.
They are roughly split into groups for a better overview and faster integration tests.
cd generate
python -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements.txt
python generate.py -o ../operators ../operators-<operator-group>.toml
# To generate all operators you have to run the script repeatedly, each time with a different toml file.