Rename cn-pico/tlo to cn-ultra/tlo and add CN_ULTRA as new algorithm.

This commit is contained in:
Mika Lindqvist 2019-12-27 15:48:03 +02:00
parent 9ae7fdb5ac
commit 286d690575
21 changed files with 502 additions and 413 deletions

View file

@ -101,12 +101,15 @@ size_t inline generate<Algorithm::CN_HEAVY>(Threads<CudaThreads> &threads, const
template<>
size_t inline generate<Algorithm::CN_PICO>(Threads<CudaThreads> &threads, const std::vector<CudaDevice> &devices)
{
size_t count = 0;
return generate("cn-pico", threads, Algorithm::CN_PICO_0, devices);
}
#endif
count += generate("cn-pico", threads, Algorithm::CN_PICO_0, devices);
count += generate("cn-pico/tlo", threads, Algorithm::CN_PICO_TLO, devices);
return count;
#ifdef XMRIG_ALGO_CN_ULTRA
template<>
size_t inline generate<Algorithm::CN_ULTRA>(Threads<CudaThreads> &threads, const std::vector<CudaDevice> &devices)
{
return generate("cn-ultra", threads, Algorithm::CN_ULTRA_0, devices);
}
#endif