Improved CPU profile generation.
This commit is contained in:
parent
7db7b3727d
commit
61ab47cc95
10 changed files with 190 additions and 80 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue