spirit-code / spirit

Atomistic Spin Simulation Framework
http://spirit-code.github.io
MIT License
118 stars 52 forks source link

Core: use cuRand to generate random numbers in the CUDA version? #472

Open GPMueller opened 5 years ago

GPMueller commented 5 years ago

This would be mostly beneficial for stochastic LLG calculations.

Note that the most efficient way to use random numbers would probably be to pre-generate long lists which can be used over a few iterations or something like this.

See https://developer.nvidia.com/curand