mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-23 13:22:46 -05:00
Update CN-GPU integration
This commit is contained in:
@@ -181,20 +181,19 @@ bool xmrig::CpuWorker<N>::selfTest()
|
||||
verify(Algorithm::CN_RWZ, test_output_rwz) &&
|
||||
verify(Algorithm::CN_ZLS, test_output_zls) &&
|
||||
verify(Algorithm::CN_CCX, test_output_ccx) &&
|
||||
verify(Algorithm::CN_DOUBLE, test_output_double)
|
||||
# ifdef XMRIG_ALGO_CN_GPU
|
||||
verify(Algorithm::CN_GPU, test_output_gpu) &&
|
||||
&&
|
||||
verify(Algorithm::CN_GPU, test_output_gpu)
|
||||
# endif
|
||||
verify(Algorithm::CN_DOUBLE, test_output_double);
|
||||
;
|
||||
|
||||
# ifdef XMRIG_ALGO_CN_GPU
|
||||
if (!rc || N > 1) {
|
||||
return rc;
|
||||
}
|
||||
|
||||
return verify(Algorithm::CN_GPU, test_output_gpu);
|
||||
# else
|
||||
return rc;
|
||||
if (! (!rc || N > 1)) {
|
||||
return verify(Algorithm::CN_GPU, test_output_gpu);
|
||||
} else
|
||||
# endif
|
||||
return rc;
|
||||
}
|
||||
|
||||
# ifdef XMRIG_ALGO_CN_LITE
|
||||
|
||||
Reference in New Issue
Block a user