mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-11 09:22:48 -05:00
Improved CPU profile generation.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user