Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

Commit

Permalink
Merge pull request #63 from theLosers106/master
Browse files Browse the repository at this point in the history
Bug fix
  • Loading branch information
kenshirothefist committed Mar 31, 2016
2 parents c485046 + 2a419d2 commit 78127d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions NiceHashMiner/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -587,8 +587,9 @@ void SetEnvironmentVariables()
{
Helpers.ConsolePrint("NICEHASH", "Setting environment variables");

string[] envName = { "GPU_MAX_ALLOC_PERCENT", "GPU_USE_SYNC_OBJECTS", "GPU_MAX_HEAP_SIZE" };
string[] envValue = { "100", "1", "100" };
string[] envName = { "GPU_MAX_ALLOC_PERCENT", "GPU_USE_SYNC_OBJECTS",
"GPU_SINGLE_ALLOC_PERCENT", "GPU_MAX_HEAP_SIZE", "GPU_FORCE_64BIT_PTR" };
string[] envValue = { "100", "1", "100", "100", "0" };

for (int i = 0; i < envName.Length; i++)
{
Expand Down
2 changes: 1 addition & 1 deletion NiceHashMiner/sgminer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public sgminer()
new Algorithm(10, "whirlpoolx", "whirlpoolx", DefaultParam + "--nfactor 10 --xintensity 64 --thread-concurrency 0 --worksize 128 --gpu-threads 2"),
new Algorithm(11, "qubit", "qubitcoin", DefaultParam + "--intensity 18 --worksize 64 --gpu-threads 2"),
new Algorithm(12, "quark", "quarkcoin", DefaultParam + "--nfactor 10 --xintensity 1024 --thread-concurrency 0 --worksize 64 --gpu-threads 1"),
new Algorithm(14, "lyra2rev2", "lyra2rev2", DefaultParam + "--nfactor 10 --xintensity 160 --thread-concurrency 0 --worksize 64 --gpu-threads 1"),
new Algorithm(14, "lyra2rev2", "Lyra2REv2", DefaultParam + "--nfactor 10 --xintensity 160 --thread-concurrency 0 --worksize 64 --gpu-threads 1"),
new Algorithm(16, "blake256r8", "blakecoin", DefaultParam + "--intensity 24 --worksize 128 --gpu-threads 2"),
new Algorithm(17, "blake256r14", "blake", DefaultParam + "--intensity 24 --worksize 128 --gpu-threads 2"),
new Algorithm(18, "blake256r8vnl", "vanilla", DefaultParam + "--intensity 24 --worksize 128 --gpu-threads 2"),
Expand Down

0 comments on commit 78127d0

Please sign in to comment.