Improved CPU profile generation.

This commit is contained in:
XMRig 2019-10-09 12:58:11 +07:00
parent 7db7b3727d
commit 61ab47cc95
10 changed files with 190 additions and 80 deletions

View file

@ -38,7 +38,7 @@ namespace xmrig {
static inline size_t generate(const char *key, Threads<OclThreads> &threads, const Algorithm &algorithm, const std::vector<OclDevice> &devices)
{
if (threads.isExist(algorithm)) {
if (threads.isExist(algorithm) || threads.has(key)) {
return 0;
}