Luke Dashjr
|
a1cb0d06d5
|
Bugfix: Copy argv[0] given to dirname()
Per manpage, dirname can (and does on GNU/Linux!) modify its argument
|
12 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.
|
12 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.
|
12 years ago |
Con Kolivas
|
89eb1fa393
|
Check the maximum allocable memory size per opencl device.
|
12 years ago |
Con Kolivas
|
5087ff9069
|
Add debugging output if buffer allocation fails for scrypt and round up bufsize to a multiple of 256.
|
12 years ago |
Con Kolivas
|
94c94d659a
|
Nonce testing for btc got screwed up, leading to no accepted shares. Fix it.
|
12 years ago |
Con Kolivas
|
1711b4eb77
|
Display size of scrypt buffer used in debug.
|
12 years ago |
Con Kolivas
|
17dfe74f96
|
Allow intensities up to 20 if scrypt is compiled in.
|
12 years ago |
Con Kolivas
|
c21e15a0c3
|
Add name to scrypt kernel copyright.
|
12 years ago |
Con Kolivas
|
39f7d2fa74
|
Allow lookup gap and thread concurrency to be passed per device and store details in kernel binary filename.
|
12 years ago |
Con Kolivas
|
ffe1318f70
|
Ignore negative intensities for scrypt.
|
12 years ago |
Con Kolivas
|
04f55a0e66
|
Change the scale of intensity for scrypt kernel and fix a build warning.
|
12 years ago |
Con Kolivas
|
e45ebb62a9
|
Correct target value passed to scrypt kernel.
|
12 years ago |
Con Kolivas
|
1b5c676de7
|
Use 256 output slots for kernels to allow 1 for each worksize.
|
12 years ago |
Con Kolivas
|
b9e5f8e550
|
Revert "Use cpu scrypt code to check if an scrypt share is below target before submitting it."
This reverts commit 808f403a14 .
Conflicts:
findnonce.c
|
12 years ago |
Con Kolivas
|
a22edd2a7f
|
Test the target in the actual scrypt kernel itself saving further calculations.
|
12 years ago |
Con Kolivas
|
7d53fba1ad
|
Reinstate GPU only opencl device detection.
|
12 years ago |
Con Kolivas
|
d13a3f1d50
|
Decrease lookup gap to 1. Does not seem to help in any way being 2.
|
12 years ago |
Con Kolivas
|
d9eba43a42
|
Fix build.
|
12 years ago |
Con Kolivas
|
808f403a14
|
Use cpu scrypt code to check if an scrypt share is below target before submitting it.
|
12 years ago |
Con Kolivas
|
537b28d53e
|
Make pad0 and pad1 local variable in scrypt kernel.
|
12 years ago |
Con Kolivas
|
8dc0d6e485
|
Constify input variable in scrypt kernel.
|
12 years ago |
Con Kolivas
|
d72add9af3
|
Send correct values to scrypt kernel to get it finally working.
|
13 years ago |
Con Kolivas
|
3e61db105d
|
Create command queue before compiling program in opencl.
|
13 years ago |
Con Kolivas
|
e17ee1e894
|
Revert "Use uint16 in SHA256 in scrypt kernel."
This reverts commit 46592a24f4 .
|
13 years ago |
Con Kolivas
|
dd25454594
|
Detach pthread from within the api thread in case it is terminated due to not being instantiated before pthread_cancel is called from main, leading to a segfault.
|
13 years ago |
Con Kolivas
|
4abecc2674
|
Detach pthread from within the api thread in case it is terminated due to not being instantiated before pthread_cancel is called from main, leading to a segfault.
|
13 years ago |
Con Kolivas
|
77b7ed4b9e
|
Debug output per thread hashrate is out by a factor of 1000.
|
13 years ago |
Con Kolivas
|
471daecb5f
|
Initialise mdplatform.
|
13 years ago |
Con Kolivas
|
07292f73a1
|
Initialise mdplatform.
|
13 years ago |
Con Kolivas
|
ffd21f8db3
|
Find the gpu platform with the most devices and use that if no platform option is passed.
|
13 years ago |
Con Kolivas
|
f99ac0ca78
|
Allow more platforms to be probed if first does not return GPUs.
|
13 years ago |
Con Kolivas
|
861f4329b2
|
Fix external scrypt algo missing.
|
13 years ago |
Con Kolivas
|
428d5e5d4d
|
Limit scrypt to 1 vector.
|
13 years ago |
Con Kolivas
|
76c37891ea
|
Handle KL_SCRYPT in config write.
|
13 years ago |
Con Kolivas
|
5cd4bbd21c
|
Get rid of stuff.
|
13 years ago |
Con Kolivas
|
6ac14f4280
|
Don't enqueuewrite buffer at all for pad8 and pass work details around for scrypt in dev_blk.
|
13 years ago |
Con Kolivas
|
a9a0bba18b
|
Set the correct data for cldata and prepare for pad8 fixes.
|
13 years ago |
Con Kolivas
|
3d1b4d6374
|
Revert "Use uint16 in SHA256_fresh in scrypt kernel."
This reverts commit 6a02f8d94a .
|
13 years ago |
Luke Dashjr
|
a1edc7dbcb
|
Bugfix: Fix build without curses but with OpenCL
|
13 years ago |
Con Kolivas
|
04edf4bfa2
|
Temporarily set opencl to use all devices to allow debugging of scrypt kernel rapidly.
|
13 years ago |
Con Kolivas
|
53e9c61c02
|
Find the gpu platform with the most devices and use that if no platform option is passed.
|
13 years ago |
Con Kolivas
|
884f83f313
|
Allow more platforms to be probed if first does not return GPUs.
|
13 years ago |
Con Kolivas
|
6a02f8d94a
|
Use uint16 in SHA256_fresh in scrypt kernel.
|
13 years ago |
Con Kolivas
|
cb5fed893f
|
Get rid of spaces in arrays in scrypt kernel.
|
13 years ago |
Con Kolivas
|
46592a24f4
|
Use uint16 in SHA256 in scrypt kernel.
|
13 years ago |
Con Kolivas
|
fdcaea1c13
|
Start with smaller amount of hashes in cpu mining to enable scrypt to return today sometime.
|
13 years ago |
Con Kolivas
|
6c6c285268
|
Show Khash hashrates when scrypt is in use.
|
13 years ago |
Con Kolivas
|
54f1b80824
|
Free the scratchbuf memory allocated in scrypt and don't check if CPUs are sick since they can't be. Prepare for khash hash rates in display.
|
13 years ago |
Con Kolivas
|
a5ebb71216
|
Add cpumining capability for scrypt.
|
13 years ago |