141 Commits (c46c913d1cd91b85dc69ce058e0660c033074066)

Author SHA1 Message Date
Con Kolivas a9a0bba18b Set the correct data for cldata and prepare for pad8 fixes. 13 years ago
Luke Dashjr a1edc7dbcb Bugfix: Fix build without curses but with OpenCL 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
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
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