Change executable_groups and add bin_dir hook
This commit is contained in:
@@ -66,7 +66,7 @@ pool_admin() ->
|
||||
workers() ->
|
||||
array(
|
||||
#{default => [#{executable => <<"mean29-generic">>,
|
||||
executable_group => <<"aecuckoo">>}],
|
||||
executable_group => <<"cpu">>}],
|
||||
description =>
|
||||
<<"Definitions of workers' configurations. If no worker are configured one worker "
|
||||
"is used as default, i.e. 'mean29-generic' executable without any extra args.">>},
|
||||
@@ -83,9 +83,8 @@ workers() ->
|
||||
"from faster CPU supporting AVX2 instructions).">>}),
|
||||
executable_group =>
|
||||
str(#{description => <<"Group of executable binaries of the worker.">>,
|
||||
enum => [ <<"aecuckoo">>, <<"aecuckooprebuilt">>,
|
||||
<<"gmcuckoo">>, <<"cuda">>, <<"gajumine">> ],
|
||||
default => <<"aecuckoo">>}),
|
||||
enum => [ <<"cpu">>, <<"cuda">> ],
|
||||
default => <<"cpuo">>}),
|
||||
extra_args =>
|
||||
str(#{description => <<"Extra arguments to pass to the worker executable binary. "
|
||||
"The safest choice is specifying no arguments i.e. empty string.">>,
|
||||
|
||||
Reference in New Issue
Block a user