Update CN-GPU integration
This commit is contained in:
parent
0e5b54b80a
commit
be26d56f66
19 changed files with 144 additions and 142 deletions
|
@ -52,16 +52,15 @@ size_t inline generate<Algorithm::CN>(Threads<CudaThreads> &threads, const std::
|
|||
|
||||
count += generate(Algorithm::kCN, threads, Algorithm::CN_1, devices);
|
||||
count += generate(Algorithm::kCN_2, threads, Algorithm::CN_2, devices);
|
||||
# ifdef XMRIG_ALGO_CN_GPU
|
||||
count += generate(Algorithm::kCN_GPU, threads, Algorithm::CN_GPU, devices);
|
||||
# endif
|
||||
|
||||
if (!threads.isExist(Algorithm::CN_0)) {
|
||||
threads.disable(Algorithm::CN_0);
|
||||
count++;
|
||||
}
|
||||
|
||||
# ifdef XMRIG_ALGO_CN_GPU
|
||||
count += generate("cn/gpu", threads, Algorithm::CN_GPU, devices);
|
||||
# endif
|
||||
|
||||
return count;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue