Closed jcvernaleo closed 8 years ago
Fixed the spelling issue.
Looks good and works fine. Time to get it in I guess.
OK
in cudevice.go, you should add both cuda default locations :
-L/opt/cuda/lib64 -L/usr/local/cuda/lib64
Thanks @tpruvot. We'll add that when we add in path's for building on windows and hopefully Ubuntu.
cuda setup is available in .run packages like device drivers and works on most linux distributions
default path in this setup is /usr/local/cuda-[7.5] with a symlink question to /usr/local/cuda
Its not just for ubuntu ;) just not Arch
Actually at least on my ubuntu box it puts it in a different place than the default. So we will need it in 4 places I think (default, arch, ubuntu, and windows).
its maybe possible to get the linux toolkit path from ldconfig -p or just which nvcc
Modelled partly after ccminer.
Contains work by jrick and jcv.