|
6d747123
|
2013-09-28T15:11:06
|
|
Use macro expansion to iterate over all device drivers without needing to explicitly code in support in all places. Pass a hotplug bool to the detect() function to prevent opencl trying to hogplug GPUs.
|
|
741b7430
|
2013-09-28T14:00:18
|
|
Forward declare all device drivers in miner.h avoiding the need to export them everywhere else.
|
|
88751974
|
2013-09-28T10:25:48
|
|
Create a macro list of drivers to enable easier addition of further drivers.
|
|
3e84a19c
|
2013-08-11T15:10:27
|
|
Fix --scrypt being required before scrypt intensities on command line or not working at all via config files.
|
|
2b171f7f
|
2013-08-09T15:12:57
|
|
Limit intensity range according to whether scrypt is in use or not.
|
|
837c7319
|
2013-07-19T19:15:01
|
|
Fix extra argument passed to statline before.
|
|
ad1572f7
|
2013-07-06T20:17:17
|
|
size check get_datestamp/get_timestamp and remove unused cgpu->init
|
|
385a70be
|
2013-07-06T19:15:59
|
|
make all statline overflow safe
|
|
2d8cc36b
|
2013-06-28T23:19:09
|
|
GPU fan rpm display 9999 when it overflows
|
|
b5bf34dc
|
2013-06-16T16:54:42
|
|
applog/quit fix GPU errors created
|
|
7eba9634
|
2013-06-15T22:03:56
|
|
remove varargs from logging/quit/in general as much as possible
|
|
065d4aab
|
2013-06-09T13:29:38
|
|
Fix build.
|
|
727184d6
|
2013-06-03T11:09:36
|
|
Change the --device parameter parsing and configuration to use ranges and comma separated values.
|
|
bbdbf364
|
2013-06-03T10:22:13
|
|
Modify scrypt kernel message.
|
|
ee2671a5
|
2013-05-29T12:18:35
|
|
Change the opencl shutdown sequence.
|
|
000c01dc
|
2013-05-19T21:28:53
|
|
Create a logwin_update function which mandatorily updates the logwin and use it when input is expected to prevent display refresh delays.
|
|
01fca3e7
|
2013-05-19T21:28:53
|
|
Create a logwin_update function which mandatorily updates the logwin and use it when input is expected to prevent display refresh delays.
|
|
1a7a87c2
|
2013-05-11T20:29:48
|
|
Use a discrete device target for scrypt that dynamically changes to ensure we still report a work utility even if no shares are submitted such as in solo mining.
|
|
b196d4fa
|
2013-05-11T16:19:02
|
|
Support more shares to be returned for scrypt mining.
|
|
0face980
|
2013-04-21T19:13:47
|
|
Use cgtime in driver-opencl.c
|
|
13e19de4
|
2013-03-17T10:15:24
|
|
Calculate work utility for devices that support target diffs of greater than 1, and update scrypt code to use it.
|
|
d7d630b8
|
2013-03-16T08:56:37
|
|
Set default GPU threads to 1 for scrypt.
|
|
1c04d140
|
2013-03-13T23:24:34
|
|
cgminer -n to include a USB device list
|
|
5d581cb5
|
2013-02-09T19:27:57
|
|
Use blank_get_statline_before for GPU devices that don't support adl monitoring.
|
|
5d122cad
|
2013-02-03T23:41:41
|
|
Provide wrappers for grabbing of thr value under the mining_thr_lock.
|
|
7abf30b2
|
2013-02-03T22:51:05
|
|
distinguish between drv and it's id enum now called drv_id
|
|
61ec1fe9
|
2013-01-30T15:02:25
|
|
mutex all access to mining_thr
|
|
212f32e5
|
2013-01-29T23:44:09
|
|
Split thr_info array into control_thr and mining_thr pointers so more mining threads can be added later
|
|
a344deb6
|
2013-01-05T23:47:26
|
|
rename device_api -> device_drv and all related api -> drv and add a device_drv->drv enum for identifying which driver each is
|
|
d4f4c932
|
2012-12-04T21:57:29
|
|
Trivial space removal.
|
|
30ed3fb6
|
2012-11-25T00:50:34
|
|
Get rid of unused last_work in opencl thread data.
|
|
217be6ed
|
2012-11-25T00:37:46
|
|
Do away with the flaky free_work api in the driver code which would often lose the work data in opencl and simply flush it before exiting the opencl scanhash.
|
|
ce7801be
|
2012-11-24T12:49:20
|
|
Copy the work on opencl_free_work
|
|
2d35ac25
|
2012-11-24T10:47:20
|
|
Track all dynamically allocated memory within the work struct by copying work structs in a common place, creating freshly allocated heap ram for all arrays within the copied struct.
Clear all work structs from the same place to ensure memory does not leak from arrays within the struct.
Convert the gbt coinbase and stratum strings within the work struct to heap ram.
This will allow arbitrary lengths without an upper limit for the strings, preventing the overflows that happen with GBT.
|
|
cce75083
|
2012-11-18T22:24:40
|
|
opencl: Use new dev_error function for REASON_DEV_NOSTART
|
|
101394ab
|
2012-10-18T00:57:03
|
|
Time for dynamic is in microseconds, not ms.
|
|
7450b25e
|
2012-10-14T12:07:27
|
|
Dramatically simplify the dynamic intensity calculation by oversampling many runs through the opencl kernel till we're likely well within the timer resolution on windows.
|
|
1c22c0e8
|
2012-10-14T08:37:54
|
|
In opencl_free_work, make sure to still flush results in dynamic mode.
|
|
55396f53
|
2012-10-12T11:35:20
|
|
Fix 4 * 0 being 0 that would break dynamic intensity mode.
|
|
4fbc570f
|
2012-10-11T20:30:47
|
|
Reinstate the history on dynamic intensity mode to damp fluctuations in intensity but use an upper limit on how much the value can increase at any time to cope with rare overflows.
|
|
61899902
|
2012-09-21T16:10:34
|
|
As we average gpu time over 5 work intervals for dynamic GPU intensity, there is no need to maintain a rolling average and it avoids the potential long term corruption of a single overflow value.
|
|
f1c6ae22
|
2012-08-31T09:13:19
|
|
Adjust opencl intensity when adjusting thread count to prevent it getting pegged at a value below the minimum threads possible.
|
|
86d5377e
|
2012-08-23T10:48:15
|
|
Use atomic ops to never miss a nonce on opencl kernels, including nonce==0, also allowing us to make the output buffer smaller.
|
|
f63aeab1
|
2012-08-22T10:33:40
|
|
gpu->hit should be reset on new work as well.
|
|
edd9b816
|
2012-08-22T10:07:20
|
|
Do not add time to dynamic opencl calculations over a getwork.
|
|
e5ed7084
|
2012-08-20T14:52:06
|
|
Do the dynamic timing in opencl code over a single pass through scanhash to make sure we're only getting opencl times contributing to the measured intervals.
|
|
8745ba1e
|
2012-08-15T09:38:45
|
|
Windows' timer resolution is limited to 15ms accuracy. This was breaking dynamic intensity since it tries to measure below this.
Since we are repeatedly sampling similar timeframes, we can average the gpu_us result over 5 different values to get very fine precision.
|
|
fc44b6d7
|
2012-08-05T15:32:44
|
|
Use different variables for command line specified lookup gap and thread concurrency to differentiate user defined versus auto chosen values.
|
|
33019b11
|
2012-07-31T22:39:04
|
|
Show the correct base units on GPU summary.
|
|
500ed85b
|
2012-07-29T03:46:49
|
|
Merge pull request #271 from luke-jr/cg_logfixes
Logging bugfixes
|
|
6b80592c
|
2012-07-29T20:27:37
|
|
Sleeping on intensity decrease is broken, remove it.
|
|
7e55a412
|
2012-07-29T20:17:15
|
|
Sleep only the extra amount of time we overran the dynamic interval in dynamic mode.
|
|
5e756d3f
|
2012-07-24T20:53:05
|
|
Don't make opt_scrypt mandatory blocking with opencl code.
|
|
9a6c082a
|
2012-07-24T20:27:37
|
|
Make the thread concurrency and lookup gap options hidden on the command line and autotune parameters with a newly parsed --shaders option.
|
|
f98774c3
|
2012-07-24T17:52:54
|
|
Fix target testing with scrypt kernel as it would have been missing shares below target.
|
|
39f7d2fa
|
2012-07-21T17:31:06
|
|
Allow lookup gap and thread concurrency to be passed per device and store details in kernel binary filename.
|
|
ffe1318f
|
2012-07-21T16:05:50
|
|
Ignore negative intensities for scrypt.
|
|
04f55a0e
|
2012-07-21T13:56:54
|
|
Change the scale of intensity for scrypt kernel and fix a build warning.
|
|
e45ebb62
|
2012-07-21T13:30:32
|
|
Correct target value passed to scrypt kernel.
|
|
a22edd2a
|
2012-07-21T10:25:33
|
|
Test the target in the actual scrypt kernel itself saving further calculations.
|
|
d72add9a
|
2012-07-20T16:16:18
|
|
Send correct values to scrypt kernel to get it finally working.
|
|
6ac14f42
|
2012-07-16T13:14:21
|
|
Don't enqueuewrite buffer at all for pad8 and pass work details around for scrypt in dev_blk.
|
|
a9a0bba1
|
2012-07-16T11:53:18
|
|
Set the correct data for cldata and prepare for pad8 fixes.
|
|
a1edc7db
|
2012-07-15T05:37:49
|
|
Bugfix: Fix build without curses but with OpenCL
|
|
243d005b
|
2012-07-14T16:21:27
|
|
Set scrypt settings and buffer size in ocl.c code to be future modifiable.
|
|
bd10764e
|
2012-07-14T11:07:15
|
|
Cope with when we cannot set intensity low enough to meet dynamic interval by inducing a forced sleep.
|
|
238db52a
|
2012-07-14T11:02:22
|
|
Make dynamic and scrypt opencl calls blocking.
|
|
aabc7233
|
2012-07-14T00:30:25
|
|
Make sure goffset is set for scrypt and drop padbuffer8 to something manageable for now.
|
|
b085c338
|
2012-07-13T20:28:36
|
|
Make scrypt buffers and midstate compatible with cgminer.
|
|
dd740caa
|
2012-07-13T19:02:43
|
|
Provide initial support for the scrypt kernel to compile with and mine scrypt with the --scrypt option.
|
|
5a65415b
|
2012-07-13T14:47:02
|
|
Enable completely compiling scrypt out.
|
|
176cdf8b
|
2012-07-13T14:44:52
|
|
Begin import of scrypt opencl kernel from reaper.
|
|
96f3a988
|
2012-07-11T23:00:35
|
|
Merge pull request #264 from luke-jr/life_init
Bugfix: Don't declare devices SICK if they're just busy initializing
|
|
f168d969
|
2012-07-11T20:32:34
|
|
Merge pull request #262 from luke-jr/bugfix_ocl_err
Bugfix: Adapt OpenCL scanhash errors to driver API change
|
|
c57c308d
|
2012-07-11T20:29:06
|
|
Bugfix: Don't declare devices SICK if they're just busy initializing
This mainly applies to ModMiner since it takes 4-5 minutes to upload the bitstream
|
|
a3998e26
|
2012-07-11T19:43:55
|
|
Bugfix: Adapt OpenCL scanhash errors to driver API change (errors are now -1, not 0)
|
|
bf427de3
|
2012-07-11T23:05:10
|
|
Time opencl work from start of queueing a kernel till it's flushed when calculating dynamic intensity.
|
|
5c7e0308
|
2012-07-11T22:59:58
|
|
Modify te scanhash API to use an int64_t and return -1 on error, allowing zero to be a valid return value.
|
|
66e7dc70
|
2012-07-02T16:51:52
|
|
Check for gpu return times of >= 0, not just 0, to fix intensity dropping to -10.
|
|
c7eb9f37
|
2012-06-26T14:05:54
|
|
Microsecond multiplier error.
|
|
dffda238
|
2012-06-26T12:50:52
|
|
Increase GPU timing resolution to microsecond and add sanity check to ensure times are positive.
|
|
999dba47
|
2012-06-26T12:26:25
|
|
Revert "Use much more damping when determining average opencl duration to change dynamic intensity."
This reverts commit 04e528d38faacfe6765494216d6a180793447340.
Didn't help.
|
|
04e528d3
|
2012-06-26T11:29:29
|
|
Use much more damping when determining average opencl duration to change dynamic intensity.
|
|
79a4e257
|
2012-06-26T11:12:13
|
|
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.
|
|
5cf4b7c4
|
2012-06-25T16:59:29
|
|
Make the devices array a dynamically allocated array of pointers to allow unlimited devices.
|
|
eaf15053
|
2012-06-25T13:31:52
|
|
Dynamic intensity for GPUs should be calculated on a per device basis. Clean up the code to only calculate it if required as well.
|
|
eb36f8d2
|
2012-06-24T00:12:11
|
|
Walk through the thread list instead of searching for them when disabling threads for dynamic mode.
|
|
4eb23c7e
|
2012-06-13T16:56:31
|
|
Bugfix: slay a variety of warnings
|
|
46a679f3
|
2012-05-05T12:55:00
|
|
Revert "Provide simple macros for the repeated use of checking the first value of the input char with strncasecmp."
This reverts commit 87708a6a0e151401aee6cebf624940467993707b.
Broken.
|
|
87708a6a
|
2012-05-04T23:05:00
|
|
Provide simple macros for the repeated use of checking the first value of the input char with strncasecmp.
|
|
f479be07
|
2012-04-27T08:29:56
|
|
add goffset support for diakgcn with -v 1 and update kernel version
|
|
f5f089f5
|
2012-04-23T17:40:47
|
|
Add a --gpu-map option which will allow arbitrarily mapping ADL devices to OpenCL devices for instances where association by enumeration alone fails.
|
|
127c4a5f
|
2012-04-21T16:54:37
|
|
Initialise name variable.
|
|
e07c7268
|
2012-04-21T16:50:02
|
|
Remove unnecessary check for variable that always has memory allocated.
|
|
7987476d
|
2012-04-21T02:47:28
|
|
Bugfix: Missing "break" no-op in default case
|
|
b8778839
|
2012-04-21T02:36:19
|
|
Merge branch 'master' into unify_drivers
Conflicts:
cgminer.c
|
|
eca99654
|
2012-03-18T21:39:20
|
|
CGPU API for device kernel name
|
|
f05a319e
|
2012-03-18T21:06:47
|
|
CGPU API for device names
|
|
303dbf46
|
2012-03-18T20:09:03
|
|
Abstract add_cgpu function, to handle device id numbering and devices array
|
|
e131dfab
|
2012-03-13T12:18:23
|
|
Unify drivers as driver-*.c and add driver name to API
|