Thanks for the pointer on the template line fix. It compiled, but now looks like I am back to:
CUDA error in func 'getNumDevices' at line 112 : no CUDA-capable device is detected.
terminate called after throwing an instance of 'std::runtime_error'
what(): no CUDA-capable device is detected
Aborted (core dumped)
Here is my cmake:
cmake -DBUNDLE=cudaminer -DCOMPUTE=50 ..
During the make it output the following:
In file included fromhome/buchanaw/Documents/cpp-ethereum/ethminer/main.cpp:39:0:
/home/buchanaw/Documents/cpp-ethereum/ethminer/MinerAux.h: In member function void MinerCLI::doStratum():
/home/buchanaw/Documents/cpp-ethereum/ethminer/MinerAux.h:1023:14: warning: suggest explicit braces to avoid ambiguous else [-Wparentheses]
else if (client.waitState() == MINER_WAIT_STATE_WORK)
^
/home/buchanaw/Documents/cpp-ethereum/ethminer/MinerAux.h:1058:14: warning: suggest explicit braces to avoid ambiguous else [-Wparentheses]
else if (client.waitState() == MINER_WAIT_STATE_WORK)
^
However it did appear to complete.
UPDATE: Just re-ran cmake with just -DBUNDLE=cudaminer and did the make and now it outputs the following:
Genoil's ethminer 0.9.41-genoil-1.1.3
=====================================================================
Forked from github.com/ethereum/cpp-ethereum
CUDA kernel ported from Tim Hughes' OpenCL kernel
With contributions from nerdralph, RoBiK, tpruvot and sp_
Please consider a donation to:
ETH: 0xeb9310b185455f863f526dab3d245809f6854b4d
[OPENCL]:No OpenCL platforms found
No GPU device with sufficient memory was found. Can't GPU mine. Remove the -G argument
Here is my command:
./ethminer -F
http://us2.ethermine.org:4444/<address>.<rig> -X --farm-recheck 200 --cl-local-work 128 --cl-global-work 4096 --cuda-devices 0