https://hgpu.org/?p=1739
A flexible simulation framework for graphics architectures