https://hgpu.org/?p=13284
Automatic Tuning of Local Memory Use on GPGPUs