mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
Rename the dev-reorder option to --gpu-reorder since it only affects GPUs.
This commit is contained in:
parent
bdec295fee
commit
b086430c81
8
main.c
8
main.c
@ -1564,11 +1564,6 @@ static struct opt_table opt_config_table[] = {
|
|||||||
OPT_WITHOUT_ARG("--disable-gpu|-G",
|
OPT_WITHOUT_ARG("--disable-gpu|-G",
|
||||||
opt_set_bool, &opt_nogpu,
|
opt_set_bool, &opt_nogpu,
|
||||||
"Disable GPU mining even if suitable devices exist"),
|
"Disable GPU mining even if suitable devices exist"),
|
||||||
#ifdef HAVE_ADL
|
|
||||||
OPT_WITHOUT_ARG("--dev-reorder",
|
|
||||||
opt_set_bool, &opt_reorder,
|
|
||||||
"Attempt to reorder GPU devices according to PCI Bus ID"),
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
OPT_WITH_ARG("--donation",
|
OPT_WITH_ARG("--donation",
|
||||||
set_float_0_to_99, &opt_show_floatval, &opt_donation,
|
set_float_0_to_99, &opt_show_floatval, &opt_donation,
|
||||||
@ -1606,6 +1601,9 @@ static struct opt_table opt_config_table[] = {
|
|||||||
OPT_WITH_ARG("--gpu-powertune",
|
OPT_WITH_ARG("--gpu-powertune",
|
||||||
set_gpu_powertune, NULL, NULL,
|
set_gpu_powertune, NULL, NULL,
|
||||||
"Set the GPU powertune percentage - one value for all or separate by commas for per card"),
|
"Set the GPU powertune percentage - one value for all or separate by commas for per card"),
|
||||||
|
OPT_WITHOUT_ARG("--gpu-reorder",
|
||||||
|
opt_set_bool, &opt_reorder,
|
||||||
|
"Attempt to reorder GPU devices according to PCI Bus ID"),
|
||||||
OPT_WITH_ARG("--gpu-vddc",
|
OPT_WITH_ARG("--gpu-vddc",
|
||||||
set_gpu_vddc, NULL, NULL,
|
set_gpu_vddc, NULL, NULL,
|
||||||
"Set the GPU voltage in Volts - one value for all or separate by commas for per card"),
|
"Set the GPU voltage in Volts - one value for all or separate by commas for per card"),
|
||||||
|
Loading…
Reference in New Issue
Block a user