Browse Source

Ping buildbot.

cl-refactor
Paweł Bylica 10 years ago
parent
commit
53f8d86589
  1. 2
      libethash-cl/ethash_cl_miner.cpp

2
libethash-cl/ethash_cl_miner.cpp

@ -101,7 +101,7 @@ string ethash_cl_miner::platform_info(unsigned _platformId, unsigned _deviceId)
{
vector<cl::Platform> platforms = getPlatforms();
if (platforms.empty())
return string();
return {};
// get GPU device of the selected platform
unsigned platform_num = min<unsigned>(_platformId, platforms.size() - 1);
vector<cl::Device> devices = getDevices(platforms, _platformId);

Loading…
Cancel
Save