Con Kolivas
|
b40c8b848f
Limit total number of curls recruited per pool to the number of mining threads to prevent blasting the network when we only have one pool to talk to.
|
13 years ago |
Con Kolivas
|
e87ff7c177
Keep a counter of enabled pools and use that instead of iterating over the pool list. Use that value to ensure we don't set the last remaining active pool to the rejecting state.
|
13 years ago |
Con Kolivas
|
43752ee58c
Limit thread concurrency for scrypt to 5xshaders if shaders is specified.
|
13 years ago |
Con Kolivas
|
da1b996a39
Simplify repeated use of gpus[gpu]. in ocl.c
|
13 years ago |
Con Kolivas
|
5148502c1e
Reinstate help information for lookup gap and thread concurrency since tc will often need to be manually set for optimal scrypt performance.
|
13 years ago |
Con Kolivas
|
ea10b08dce
Find the nearest power of 2 maximum alloc size for the scrypt buffer that can successfully be allocated and is large enough to accomodate the thread concurrency chosen, thus mapping it to an intensity.
|
13 years ago |
Con Kolivas
|
bff58c3bed
Add back in new cl files.
|
13 years ago |
Con Kolivas
|
5e756d3f6a
Don't make opt_scrypt mandatory blocking with opencl code.
|
13 years ago |
Con Kolivas
|
b3a41e40a8
Update kernel versions reflecting changes in the API.
|
13 years ago |
Con Kolivas
|
aca34d0aa1
Merge branch 'master' into newscrypt
|
13 years ago |
Con Kolivas
|
9a6c082ad1
Make the thread concurrency and lookup gap options hidden on the command line and autotune parameters with a newly parsed --shaders option.
|
13 years ago |
Con Kolivas
|
458fbeb5b4
Merge pull request #273 from kanoi/bfl
|
13 years ago |
Con Kolivas
|
f98774c35c
Fix target testing with scrypt kernel as it would have been missing shares below target.
|
13 years ago |
Kano
|
c55830502a
BFL force all code to timeout to avoid hanging
|
13 years ago |
Con Kolivas
|
3a0d60cfe1
Always create the largest possible padbuffer for scrypt kernels even if not needed for thread_concurrency, giving us some headroom for intensity levels.
|
13 years ago |
Con Kolivas
|
d8f81c18ee
Use the detected maximum allocable memory on a GPU to determine the optimal scrypt settings when lookup_gap and thread_concurrency parameters are not given.
|
13 years ago |
Con Kolivas
|
89eb1fa393
Check the maximum allocable memory size per opencl device.
|
13 years ago |
Con Kolivas
|
5087ff9069
Add debugging output if buffer allocation fails for scrypt and round up bufsize to a multiple of 256.
|
13 years ago |
Con Kolivas
|
94c94d659a
Nonce testing for btc got screwed up, leading to no accepted shares. Fix it.
|
13 years ago |
Con Kolivas
|
1711b4eb77
Display size of scrypt buffer used in debug.
|
13 years ago |
Con Kolivas
|
17dfe74f96
Allow intensities up to 20 if scrypt is compiled in.
|
13 years ago |
Con Kolivas
|
c21e15a0c3
Add name to scrypt kernel copyright.
|
13 years ago |
Con Kolivas
|
39f7d2fa74
Allow lookup gap and thread concurrency to be passed per device and store details in kernel binary filename.
|
13 years ago |
Con Kolivas
|
ffe1318f70
Ignore negative intensities for scrypt.
|
13 years ago |
Con Kolivas
|
04f55a0e66
Change the scale of intensity for scrypt kernel and fix a build warning.
|
13 years ago |
Con Kolivas
|
e45ebb62a9
Correct target value passed to scrypt kernel.
|
13 years ago |
Con Kolivas
|
1b5c676de7
Use 256 output slots for kernels to allow 1 for each worksize.
|
13 years ago |
Con Kolivas
|
b9e5f8e550
Revert "Use cpu scrypt code to check if an scrypt share is below target before submitting it."
|
13 years ago |
Con Kolivas
|
a22edd2a7f
Test the target in the actual scrypt kernel itself saving further calculations.
|
13 years ago |
Con Kolivas
|
7d53fba1ad
Reinstate GPU only opencl device detection.
|
13 years ago |