diff options
author | psychocrypt <psychocrypt@users.noreply.github.com> | 2017-11-14 21:18:30 +0100 |
---|---|---|
committer | psychocrypt <psychocrypt@users.noreply.github.com> | 2017-11-15 16:26:58 +0100 |
commit | 0659458523671d53e4eddd940ade8ac9f72b1bbe (patch) | |
tree | 94156c9e10ed97cd80aeb39fa9e3439020b74394 /xmrstak/backend/backendConnector.cpp | |
parent | 288363814fb091ccfc452f0408bfa53727fc30c0 (diff) | |
download | xmr-stak-0659458523671d53e4eddd940ade8ac9f72b1bbe.zip xmr-stak-0659458523671d53e4eddd940ade8ac9f72b1bbe.tar.gz |
fix wrong memory detection
Free and total memory is only evaluated on the first device.
To detect the gpu memory the gpu must be selected.
- create context on the gpu before the memory is checked
- add smx to the auto detection
- change the result code of `cuda_get_deviceinfo()`
Diffstat (limited to 'xmrstak/backend/backendConnector.cpp')
0 files changed, 0 insertions, 0 deletions