nvidia gpus don't like too many branch divergence. flatten if conditions
Merge branch 'master' of github.com:ielhelw/MCMC_FOR_AMMSB