127 Commits (40820641913fd2b513079653a02f93cc0a68a450)

Author SHA1 Message Date
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
ckolivas eb36f8d271 Walk through the thread list instead of searching for them when disabling threads for dynamic mode. 13 years ago
Luke Dashjr 4eb23c7ea3 Bugfix: slay a variety of warnings 13 years ago
Con Kolivas 46a679f39e Revert "Provide simple macros for the repeated use of checking the first value of the input char with strncasecmp." 13 years ago
Con Kolivas 87708a6a0e Provide simple macros for the repeated use of checking the first value of the input char with strncasecmp. 13 years ago
Philip Kaufmann f479be0700 add goffset support for diakgcn with -v 1 and update kernel version 13 years ago
Con Kolivas f5f089f5b4 Add a --gpu-map option which will allow arbitrarily mapping ADL devices to OpenCL devices for instances where association by enumeration alone fails. 13 years ago
Con Kolivas 127c4a5ff4 Initialise name variable. 13 years ago
Con Kolivas e07c72687b Remove unnecessary check for variable that always has memory allocated. 13 years ago
Luke Dashjr 7987476db3 Bugfix: Missing "break" no-op in default case 13 years ago
Luke Dashjr eca996547b CGPU API for device kernel name 13 years ago
Luke Dashjr f05a319e01 CGPU API for device names 13 years ago
Luke Dashjr 303dbf4664 Abstract add_cgpu function, to handle device id numbering and devices array 13 years ago
Luke Dashjr e131dfab31 Unify drivers as driver-*.c and add driver name to API 13 years ago
Luke Dashjr ed8382c88d Make curses TUI support optional at compile-time. 13 years ago
Con Kolivas e9889a384d Revert kernels that are designed for newer hardware and SDKs to 2.3.0 release style. 13 years ago
Con Kolivas 70e8ade54f Revert behaviour to old nonce init code. 13 years ago
Philip Kaufmann a731de6e45 revert to legacy nonce creation in the kernel without vector offset, but keep GOFFSET code removed 13 years ago
Philip Kaufmann 47747dc8a2 revert to legacy nonce creation in the kernel without vector offset, but keep GOFFSET code removed 13 years ago
Con Kolivas 5404ebcd88 Don't disable and re-enable devices as they may recover and in the meantime have their status set to OFF. 13 years ago
ckolivas 71cbe8cd72 Move phatk kernel to offset vector based nonce bases as well. 13 years ago
ckolivas 93efb726bb Allow multiple different kernels to be chosen per device. 13 years ago
ckolivas a54f76061b Fix multiple work size entry. 13 years ago
Philip Kaufmann bb51b628d3 tried to fix vector offset with diakgcn 13 years ago
Con Kolivas 26c59fbf0f Allow the worksize to be set per-device. 13 years ago
Con Kolivas deff55c640 Allow different vectors to be set per device. 13 years ago
Con Kolivas 8f08a775ad Use any() in kernel output code and revert breakage of diakgcn kernel. 13 years ago
Con Kolivas 145f3c0b1d Put the nonce for each vector offset in advance, avoiding one extra addition in the kernel. 13 years ago
Con Kolivas d1cddf8bad Update licensing to GPL V3. 13 years ago
Con Kolivas 00290a3e02 Select diablo kernel on all but GCN+SDK 2.6. 13 years ago
Con Kolivas d85fc0f799 Begin import of DiabloMiner kernel. 13 years ago
Con Kolivas 89b32b1738 Officially support diakgcn in code and docs. 13 years ago
Con Kolivas 02295c69c8 Allow devices that are disabled due to overheating to be flagged as recovering instead of disabling them and re-enable them if they're below ideal 13 years ago
Con Kolivas 810ad04578 More copyright updates. 13 years ago
Con Kolivas 83dde50f9d Updates to diakgcn kernel courtesy of Philip Kaufmann <phil.kaufmann@t-online.de> 13 years ago
ckolivas 6693898710 Fix diakgcn kernel working by passing it D1A variable and renaming it in the cl code accordingly. 13 years ago
Con Kolivas 7d3635c7a4 Add message explaining 2nd thread disabling for dynamic mode and how to tune it. 13 years ago
ckolivas c235c7e373 Allow the refresh interval to be adjusted in dynamic intensity with a --gpu-dyninterval parameter. 13 years ago
ckolivas c531f1bd04 Use the max_hashes variable to determine when to abandon work. 13 years ago
ckolivas b36d857d9b Use the max_hashes variable to increment nonce only in dynamic mode and use the all time highest value. 13 years ago
ckolivas 29f0b2714c The amount of work scanned can fluctuate when intensity changes and since we do this one cycle behind, we increment the work more than enough to prevent repeating work. 13 years ago