-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
|
||
export GPU_FORCE_64BIT_PTR=0 | ||
export GPU_USE_SYNC_OBJECTS=1 | ||
export GPU_MAX_ALLOC_PERCENT=100 | ||
export GPU_SINGLE_ALLOC_PERCENT=100 | ||
export GPU_MAX_HEAP_SIZE=100 | ||
|
||
:: Replace the -o, -u, and -p arguments with your own pool, user, and password. | ||
:: All three arguments are required. | ||
./sgminer -k argon2d -o stratum+tcp://server:port -u DKPnTs1s71DtesAvvLMchtsj4gRFxphW55 -p x -g 2 --gpu-platform=1 | ||
pause | ||
|
||
:: Notes: | ||
:: - Use intensity (-I) combined with threads (-g) to utilize more GPU memory. | ||
:: notice that this value is per thread and regardless of your GPU, you can not allocate more than 4 GB of memory per thread. | ||
:: Increase the number of threads instead to fully utilize the available GPU memory. | ||
:: Note that higher intensities can sometimes lower your hashrate, since it creates more | ||
:: work units at once; after a certain point, the work units take longer to return and | ||
:: this will actually decrease your hashrate. | ||
:: - If you have an integrated GPU, you might have to set the OpenCL platform correctly | ||
:: using --gpu-platform. --gpu-platform=1 usually works here if the default isn't working. |