110 Commits (c8b97fbd8ab771f1ce55460a4a564fec092b832d)

Author SHA1 Message Date
Noel Maersk b11ca3650a Remove remaining references to have_opencl. 11 years ago
Noel Maersk 744e819117 Remove last references to opt_nogpu. 11 years ago
Martin Danielsen 31123de410 -g or --gpu-threads now support comma separated values, yaaay! 11 years ago
Noel Maersk d53b329f18 core: Revert printing threads for every GPU, this setting is not modifiable at run-time. 11 years ago
Martin Danielsen 89663c7e94 Display reject percentage instead of absolute accepted/rejected values 11 years ago
Noel Maersk 199cb10e18 HAVE_OPENCL is mandatory, remove checks form code an build system. 11 years ago
Noel Maersk 533f16aeb1 Increase MAX_INTENSITY to 42. 11 years ago
Noel Maersk 664fc33b0c Remove code for Bitcoin GPU kernel execution. 11 years ago
Noel Maersk 323af83fdb Remove define-clauses for USE_SCRYPT. 11 years ago
Noel Maersk 95586f72f0 Squash-merge branch dead-end with unnecessary check removals. 11 years ago
Noel Maersk 37cd3fb04c Get rid of several opt_scrypt checks. 11 years ago
ckolivas 6d7471237d 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. 11 years ago
ckolivas 741b74309e Forward declare all device drivers in miner.h avoiding the need to export them everywhere else. 11 years ago
ckolivas 8875197466 Create a macro list of drivers to enable easier addition of further drivers. 11 years ago
Con Kolivas 3e84a19cda Fix --scrypt being required before scrypt intensities on command line or not working at all via config files. 11 years ago
Con Kolivas 2b171f7fae Limit intensity range according to whether scrypt is in use or not. 11 years ago
ckolivas 837c7319f1 Fix extra argument passed to statline before. 12 years ago
Kano ad1572f77f size check get_datestamp/get_timestamp and remove unused cgpu->init 12 years ago
Kano 385a70bea7 make all statline overflow safe 12 years ago
Kano 2d8cc36b82 GPU fan rpm display 9999 when it overflows 12 years ago
Kano b5bf34dc85 applog/quit fix GPU errors created 12 years ago
Kano 7eba963477 remove varargs from logging/quit/in general as much as possible 12 years ago
ckolivas 065d4aabf6 Fix build. 12 years ago
Con Kolivas 727184d6ef Change the --device parameter parsing and configuration to use ranges and comma separated values. 12 years ago
Con Kolivas bbdbf364cc Modify scrypt kernel message. 12 years ago
ckolivas ee2671a559 Change the opencl shutdown sequence. 12 years ago
Con Kolivas 000c01dcae Create a logwin_update function which mandatorily updates the logwin and use it when input is expected to prevent display refresh delays. 12 years ago
Con Kolivas 01fca3e756 Create a logwin_update function which mandatorily updates the logwin and use it when input is expected to prevent display refresh delays. 12 years ago
Con Kolivas 1a7a87c2a6 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. 12 years ago
Con Kolivas b196d4fa0c Support more shares to be returned for scrypt mining. 12 years ago
Con Kolivas 0face980e8 Use cgtime in driver-opencl.c 12 years ago
Con Kolivas 13e19de4d5 Calculate work utility for devices that support target diffs of greater than 1, and update scrypt code to use it. 12 years ago
Con Kolivas d7d630b86c Set default GPU threads to 1 for scrypt. 12 years ago
Kano 1c04d14067 cgminer -n to include a USB device list 12 years ago
Con Kolivas 5d581cb5d7 Use blank_get_statline_before for GPU devices that don't support adl monitoring. 12 years ago
Con Kolivas 5d122cad93 Provide wrappers for grabbing of thr value under the mining_thr_lock. 12 years ago
Kano 7abf30b2c0 distinguish between drv and it's id enum now called drv_id 12 years ago
Kano 61ec1fe91f mutex all access to mining_thr 12 years ago
Kano 212f32e5e0 Split thr_info array into control_thr and mining_thr pointers so more mining threads can be added later 12 years ago
Kano a344deb6ac rename device_api -> device_drv and all related api -> drv and add a device_drv->drv enum for identifying which driver each is 12 years ago
Con Kolivas d4f4c932bd Trivial space removal. 12 years ago
Con Kolivas 30ed3fb648 Get rid of unused last_work in opencl thread data. 12 years ago
Con Kolivas 217be6ed98 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. 12 years ago
Con Kolivas ce7801beca Copy the work on opencl_free_work 12 years ago
Con Kolivas 2d35ac2567 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. 12 years ago
Luke Dashjr cce7508378 opencl: Use new dev_error function for REASON_DEV_NOSTART 12 years ago
Con Kolivas 101394ab70 Time for dynamic is in microseconds, not ms. 12 years ago
Con Kolivas 7450b25e75 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. 12 years ago
Con Kolivas 1c22c0e8d6 In opencl_free_work, make sure to still flush results in dynamic mode. 12 years ago
Con Kolivas 55396f534e Fix 4 * 0 being 0 that would break dynamic intensity mode. 12 years ago