MRC-CSO-SPHSU / UC-DiD-analysis

MIT License
0 stars 0 forks source link

TODO: migrate to GPU #8

Open vkhodygo opened 1 year ago

vkhodygo commented 1 year ago

Since we run everything in parallel im might be a good idea to employ installed GPUs. R provides some opportunities for that, however, I'm not sure your current code is 100% compatible with that. That should theoretically make your calculations blazingly fast. Not sure about the accuracy though, single precision floating-point numbers can be pretty nasty.

vkhodygo commented 1 year ago

See also

http://www.r-tutor.com/gpu-computing https://h2o.ai/blog/h2o4gpu-now-available-in-r/ https://github.com/gpuRcore/gpuRcuda https://github.com/gpuRcore/gpuRcublas https://github.com/eddelbuettel/gcbd