Browse Source

Merge pull request #2803 from etherninja/develop

update max work group size to allow 256
cl-refactor
Gav Wood 10 years ago
parent
commit
e89195dc16
  1. 4
      libethcore/EthashGPUMiner.cpp

4
libethcore/EthashGPUMiner.cpp

@ -213,9 +213,9 @@ bool EthashGPUMiner::configureGPU(
s_platformId = _platformId; s_platformId = _platformId;
s_deviceId = _deviceId; s_deviceId = _deviceId;
if (_localWorkSize != 32 && _localWorkSize != 64 && _localWorkSize != 128) if (_localWorkSize != 32 && _localWorkSize != 64 && _localWorkSize != 128 && _localWorkSize != 256)
{ {
cout << "Given localWorkSize of " << toString(_localWorkSize) << "is invalid. Must be either 32,64, or 128" << endl; cout << "Given localWorkSize of " << toString(_localWorkSize) << "is invalid. Must be either 32,64,128 or 256" << endl;
return false; return false;
} }

Loading…
Cancel
Save