Skip to content
Snippets Groups Projects
Nils Kohl's avatar
Nils Kohl authored
Adding many TerraNeo-relevant operators with quadratic (P2) parametric maps.

See merge request !19
7ee9af85

Optimized operators for HyTeG

This repository contains optimized elementwise operators for HyTeG. The code under operators is generated using HFG. 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.

How to generate operators

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.