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
|
a22edd2a7f
Test the target in the actual scrypt kernel itself saving further calculations.
|
13 years ago |
Con Kolivas
|
d72add9af3
Send correct values to scrypt kernel to get it finally working.
|
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
|
243d005b1b
Set scrypt settings and buffer size in ocl.c code to be future modifiable.
|
13 years ago |
Con Kolivas
|
bd10764e76
Cope with when we cannot set intensity low enough to meet dynamic interval by inducing a forced sleep.
|
13 years ago |
Con Kolivas
|
238db52aa6
Make dynamic and scrypt opencl calls blocking.
|
13 years ago |
Con Kolivas
|
aabc723326
Make sure goffset is set for scrypt and drop padbuffer8 to something manageable for now.
|
13 years ago |
Con Kolivas
|
b085c338f6
Make scrypt buffers and midstate compatible with cgminer.
|
13 years ago |
Con Kolivas
|
dd740caa98
Provide initial support for the scrypt kernel to compile with and mine scrypt with the --scrypt option.
|
13 years ago |
Con Kolivas
|
5a65415b1e
Enable completely compiling scrypt out.
|
13 years ago |
Con Kolivas
|
176cdf8bbc
Begin import of scrypt opencl kernel from reaper.
|
13 years ago |
Con Kolivas
|
96f3a98838
Merge pull request #264 from luke-jr/life_init
|
13 years ago |
Con Kolivas
|
f168d9696e
Merge pull request #262 from luke-jr/bugfix_ocl_err
|
13 years ago |
Luke Dashjr
|
c57c308d1f
Bugfix: Don't declare devices SICK if they're just busy initializing
|
13 years ago |
Luke Dashjr
|
a3998e26e8
Bugfix: Adapt OpenCL scanhash errors to driver API change (errors are now -1, not 0)
|
13 years ago |
ckolivas
|
bf427de3ac
Time opencl work from start of queueing a kernel till it's flushed when calculating dynamic intensity.
|
13 years ago |
ckolivas
|
5c7e03084a
Modify te scanhash API to use an int64_t and return -1 on error, allowing zero to be a valid return value.
|
13 years ago |
ckolivas
|
66e7dc700d
Check for gpu return times of >= 0, not just 0, to fix intensity dropping to -10.
|
13 years ago |
ckolivas
|
c7eb9f3761
Microsecond multiplier error.
|
13 years ago |
ckolivas
|
dffda2382f
Increase GPU timing resolution to microsecond and add sanity check to ensure times are positive.
|
13 years ago |
ckolivas
|
999dba479a
Revert "Use much more damping when determining average opencl duration to change dynamic intensity."
|
13 years ago |
ckolivas
|
04e528d38f
Use much more damping when determining average opencl duration to change dynamic intensity.
|
13 years ago |
ckolivas
|
79a4e25742
Opencl code may start executing before the clfinish order is given to it so get the start timing used for dynamic intensity from before the kernel is queued.
|
13 years ago |
Con Kolivas
|
5cf4b7c432
Make the devices array a dynamically allocated array of pointers to allow unlimited devices.
|
13 years ago |
Con Kolivas
|
eaf1505381
Dynamic intensity for GPUs should be calculated on a per device basis. Clean up the code to only calculate it if required as well.
|
13 years ago |