Disable AVX2 for now #4

Open
spivee wants to merge 2 commits from spivee/disable-avx2 into master

View File

@ -205,10 +205,7 @@ do_start_stop(#s{acc = PubKey, keys = Keys, network = Network, max_cores = MaxCo
{Fatness, Type} = {Fatness, Type} =
case os:type() of case os:type() of
{unix, linux} -> {unix, linux} ->
case Network of {"mean", "generic"};
<<"mainnet">> -> {"mean", "avx2"};
<<"testnet">> -> {"mean", "generic"}
end;
{unix, darwin} -> {unix, darwin} ->
% Check memory. >7gb gets mean, <7gb gets lean % Check memory. >7gb gets mean, <7gb gets lean
{"mean", "generic"}; {"mean", "generic"};
@ -216,10 +213,7 @@ do_start_stop(#s{acc = PubKey, keys = Keys, network = Network, max_cores = MaxCo
% Check memory. >7gb gets mean, <7gb gets lean % Check memory. >7gb gets mean, <7gb gets lean
% Check avx2. % Check avx2.
% Both should be provided by the F# start program % Both should be provided by the F# start program
case Network of {"mean", "generic"}
<<"mainnet">> -> {"mean", "avx2.exe"};
<<"testnet">> -> {"mean", "generic.exe"}
end
end, end,
Miner = filename:join(platform_dir(), unicode:characters_to_binary([Fatness, Bits, "-", Type])), Miner = filename:join(platform_dir(), unicode:characters_to_binary([Fatness, Bits, "-", Type])),
Count = optimize_count(MaxCores, MaxMem), Count = optimize_count(MaxCores, MaxMem),