Skip to content
Snippets Groups Projects

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.toml.

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.toml