https://hgpu.org/?p=911
Simulating spin models on GPU