decred / gominer

Go (golang) based GPU miner for Decred.
GNU General Public License v3.0
160 stars 80 forks source link

Improve cpu usage with CUDA. #116

Closed jcvernaleo closed 7 years ago

jcvernaleo commented 7 years ago

Switch to fork of mumax/3/cuda/cu that adds calls to the CUDA runtime api. ccminer uses the runtime api and so by using that we can use the same methods to get similar cpu performance.

This also removes the use of CUDA contexts complete.

There are still a few calls (for getting device count, version, etc) that use the older driver api but you are allowed to mix and match and those can be converted at a later date if desired.

Closes #86