From 7102460fcc40129ca1b90b22cde85cea54bda91b Mon Sep 17 00:00:00 2001 From: etherninja Date: Wed, 12 Aug 2015 04:07:04 -0500 Subject: [PATCH 1/2] update max workgroup size to allow 256 --- libethcore/EthashGPUMiner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libethcore/EthashGPUMiner.cpp b/libethcore/EthashGPUMiner.cpp index 5baeec5f0..73c8db61f 100644 --- a/libethcore/EthashGPUMiner.cpp +++ b/libethcore/EthashGPUMiner.cpp @@ -213,7 +213,7 @@ bool EthashGPUMiner::configureGPU( s_platformId = _platformId; 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; return false; From d768c198eac12343de70c54f68e7d129e80a7a39 Mon Sep 17 00:00:00 2001 From: etherninja Date: Wed, 12 Aug 2015 04:12:44 -0500 Subject: [PATCH 2/2] Update EthashGPUMiner.cpp --- libethcore/EthashGPUMiner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libethcore/EthashGPUMiner.cpp b/libethcore/EthashGPUMiner.cpp index 73c8db61f..de184944f 100644 --- a/libethcore/EthashGPUMiner.cpp +++ b/libethcore/EthashGPUMiner.cpp @@ -215,7 +215,7 @@ bool EthashGPUMiner::configureGPU( 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; }