https://hgpu.org/?p=14618
TABLA: A Unified Template-based Framework for Accelerating Statistical Machine Learning