Merge pull request #885 from comex/gpu-determinism GPU determinism (apparently it is ready for merge)