Merge xmrig v6.12.2 into master
This commit is contained in:
commit
28ad107de8
28 changed files with 987 additions and 506 deletions
|
@ -231,11 +231,15 @@ bool xmrig::Config::read(const IJsonReader &reader, const char *fileName)
|
|||
# endif
|
||||
|
||||
# ifdef XMRIG_FEATURE_OPENCL
|
||||
d_ptr->cl.read(reader.getValue(kOcl));
|
||||
if (!pools().isBenchmark()) {
|
||||
d_ptr->cl.read(reader.getValue(kOcl));
|
||||
}
|
||||
# endif
|
||||
|
||||
# ifdef XMRIG_FEATURE_CUDA
|
||||
d_ptr->cuda.read(reader.getValue(kCuda));
|
||||
if (!pools().isBenchmark()) {
|
||||
d_ptr->cuda.read(reader.getValue(kCuda));
|
||||
}
|
||||
# endif
|
||||
|
||||
# if defined(XMRIG_FEATURE_NVML) || defined (XMRIG_FEATURE_ADL)
|
||||
|
|
|
@ -79,9 +79,9 @@ static inline const std::string &usage()
|
|||
|
||||
u += " --no-cpu disable CPU mining backend\n";
|
||||
u += " -t, --threads=N number of CPU threads, proper CPU affinity required for some optimizations.\n";
|
||||
u += " --cpu-affinity set process affinity to CPU core(s), mask 0x3 for cores 0 and 1\n";
|
||||
u += " --cpu-affinity=N set process affinity to CPU core(s), mask 0x3 for cores 0 and 1\n";
|
||||
u += " -v, --av=N algorithm variation, 0 auto select\n";
|
||||
u += " --cpu-priority set process priority (0 idle, 2 normal to 5 highest)\n";
|
||||
u += " --cpu-priority=N set process priority (0 idle, 2 normal to 5 highest)\n";
|
||||
u += " --cpu-max-threads-hint=N maximum CPU threads count (in percentage) hint for autoconfig\n";
|
||||
u += " --cpu-memory-pool=N number of 2 MB pages for persistent memory pool, -1 (auto), 0 (disable)\n";
|
||||
u += " --cpu-no-yield prefer maximum hashrate rather than system response/stability\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue