Browse Source

Style.

cl-refactor
Paweł Bylica 10 years ago
parent
commit
8c5247af5d
  1. 4
      libethash-cl/ethash_cl_miner.cpp

4
libethash-cl/ethash_cl_miner.cpp

@ -87,11 +87,11 @@ std::vector<cl::Platform> ethash_cl_miner::getPlatforms()
}
catch(cl::Error const& err)
{
#if defined(CL_PLATFORM_NOT_FOUND_KHR)
#if defined(CL_PLATFORM_NOT_FOUND_KHR)
if (err.err() == CL_PLATFORM_NOT_FOUND_KHR)
ETHCL_LOG("No OpenCL platforms found");
else
#endif
#endif
throw err;
}
return platforms;

Loading…
Cancel
Save