17 Commits (cef96ddb8cd6945286362a930a35f575d22f1b48)

Author SHA1 Message Date
Kano 7abf30b2c0 distinguish between drv and it's id enum now called drv_id 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 a4e95cfa42 device_drv missing drv for cpu and incorrect test 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 c99636f21b Begin tearing down the old workio command queues by removing submit commands from there and submit them asynchronously via their own threads. 12 years ago
Con Kolivas 52de7170b2 Shut up some boring old cpu warnings. 12 years ago
Con Kolivas 598ee76d37 Hash1 is only used by the deprecated cpu mining code and never changes so remove it from the work struct and bypass needing to process the value for all other mining. 12 years ago
Kano 796f3906c1 WorkTime - multiple nonce per work and identify the work source 12 years ago
Con Kolivas fdcaea1c13 Start with smaller amount of hashes in cpu mining to enable scrypt to return today sometime. 13 years ago
Con Kolivas a5ebb71216 Add cpumining capability for scrypt. 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
Luke Dashjr d4af2d0535 Turn work_restart array into a bool in thr_info 13 years ago
Con Kolivas 5cf4b7c432 Make the devices array a dynamically allocated array of pointers to allow unlimited devices. 13 years ago
Luke Dashjr eca996547b CGPU API for device kernel name 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
Con Kolivas d1cddf8bad Update licensing to GPL V3. 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
zefir 713e8be629 move CPU chipset specific optimization into device-cpu 13 years ago
Con Kolivas 405a2120f8 Remove unnecessary check for opt_debug on every invocation of applog at LOG_DEBUG and place the check in applog(). 13 years ago
Kano 95e1e195ac sys/wait.h not required in windows 13 years ago
zefir e0b0a6c030 Modularize code: main.c -> device-cpu + device-gpu 13 years ago
ckolivas 7d97ed6dd6 Fix various build issues. 13 years ago