285 Commits (a466942fd880d157cc0b5968805b2159f556fc20)

Author SHA1 Message Date
Con Kolivas a466942fd8 When pinging a sick cpu, flush finish and then ping it in a separate thread in the hope it recovers, but without blocking code elsewhere. 13 years ago
Con Kolivas 177e07aed3 Display last initialised time in gpu management info. 13 years ago
Con Kolivas 28880d0dc7 Move the non cl_ variables into the cgpu info struct to allow creating a new cl state on reinit, preserving known GPU variables. 13 years ago
Con Kolivas 071a0ad2f1 Preinitialise the devices only once on startup. 13 years ago
Znort 987 2e31e1687c Add missing fflush(stdout) for --ndevs 13 years ago
Znort 987 353789da0b Use tab to indent code instead of spaces 13 years ago
Znort 987 83fa2158d9 Lots more verbiage in error messages 13 years ago
Znort 987 1cbfcba2c1 Disable --monitor-stderr on WIN32 13 years ago
Con Kolivas 467c52bb4a Allocate work from one function to be able to initialise variables added later. 13 years ago
Znort 987 79c989dd48 Add new option: --monitor <cmd> 13 years ago
Con Kolivas 1725a1c021 Fix non-opencl build. 13 years ago
Con Kolivas bc2976f538 Be more willing to get work from the backup pools if the work is simply being queued faster than it is being retrieved. 13 years ago
Con Kolivas 8f186e61e2 Restart threads by abstracting out the clcontext initialisation and using that instead of probing all cards. 13 years ago
Con Kolivas 411570d348 Revert "Don't use asynchronous work with flushes as it decreases reliability and two threads per GPU achieves the same throughput." 13 years ago
Con Kolivas decafea0ad Revert "Read buffers only after reading data back now that we're sync." 13 years ago
Con Kolivas 5f2c3151b4 Read buffers only after reading data back now that we're sync. 13 years ago
Con Kolivas 7223508f7e Don't use asynchronous work with flushes as it decreases reliability and two threads per GPU achieves the same throughput. 13 years ago
Con Kolivas f763b0db10 Don't free up any ram from the dying thread to avoid dereferences. 13 years ago
Con Kolivas 43faa11358 Use correct name in syslog. 13 years ago
Con Kolivas 37115c0e1b RPC call debugging is a mess with \r in it so remove it. 13 years ago
Con Kolivas 59b640870c So we can pthread cancel a stuck thread, but can't pthread join it. 13 years ago
Con Kolivas 74a07eb461 Revert "Send threads message to stop and then send cancel message but don't pthread_join them if they're stuck nor reinit the opencl code to not hang everything." 13 years ago
Con Kolivas e100fcc672 Revert "Send ping to wake up new threads." 13 years ago
Con Kolivas bf4c3626bc Send ping to wake up new threads. 13 years ago
Con Kolivas 62521f3e53 Send threads message to stop and then send cancel message but don't pthread_join them if they're stuck nor reinit the opencl code to not hang everything. 13 years ago
Con Kolivas b2cbaa1ae4 Send a hung device a command. If it returns, try to reinitialise it. 13 years ago
Con Kolivas a702f599d3 Disable the reinit_thread option till we know it actually works. 13 years ago
Con Kolivas bb575a5585 Reference correct GPU and only try to restart if it reaches DEAD. 13 years ago
Con Kolivas 947a74bfa3 Differentiate thread failure from GPU failure by declaring a GPU sick first and trying to restart the thread without re-initialising the card. 13 years ago
Con Kolivas 20ce1ebf2a Typo. 13 years ago
Con Kolivas 3803760689 Reimplement the per-thread getwork count with proper accounting at get_work(). 13 years ago
Con Kolivas 0fe22d8d94 Revert "Only update the thread getwork queue count if it actually results in a getwork request from the server." 13 years ago
Con Kolivas 2e607d44f2 Only update the thread getwork queue count if it actually results in a getwork request from the server. 13 years ago
Con Kolivas 5b9bfedda1 Display the correct current hash as per blockexplorer, truncated to 16 characters, with just the time. 13 years ago
Con Kolivas c94737ceab Add http:// if it's not explicitly set for URL entries. 13 years ago
Con Kolivas f0fe82ea37 Some Intel HD graphics support the opencl commands but return errors since they don't support opencl. Don't fail with them, just provide a warning and disable GPU mining. 13 years ago
Con Kolivas 10fa821e33 Update utility and efficiency figures when displaying them. 13 years ago
Con Kolivas 0006eb2da4 Make the "quiet" mode still update the status and display errors, and add a new --real-quiet option which disables all output and can be set once while running. 13 years ago
Con Kolivas da06a348d0 The work length in the miner thread gets smaller but doesn't get bigger if it's under 1 second. 13 years ago
Con Kolivas a0924933d0 Restarting a hung GPU can hang the rest of the GPUs so just declare it dead and provide the information in the status. 13 years ago
Con Kolivas 45faff2e26 Add debugging output to all tq_pop calls. 13 years ago
Con Kolivas 2e2b2ba14c Add debugging output to tq_push calls. 13 years ago
Con Kolivas 70fa8f319b Make the display options clearer. 13 years ago
Con Kolivas c7978f11ed Dividing work is like the work is never removed at all so treat it as such. However the queued bool needs to be reset to ensure we *can* request more work even if we didn't initially. 13 years ago
Con Kolivas e82e390295 If work has been cloned it is already at the head of the list and when being reinserted into the queue it should be placed back at the head of the list. 13 years ago
Con Kolivas 9c12d49684 Attribute split work as local work generation. 13 years ago
Con Kolivas 720032dacd Make sure to decrease queued count if we discard the work. 13 years ago
Con Kolivas 967acd39bd Don't put an extra work item in the queue as each new device thread will do so itself. 13 years ago
Con Kolivas 82698fbffd Do away with queueing work separately at the start and let each thread grab its own work as soon as it's ready. 13 years ago
Con Kolivas 6cc8d22beb Properly detect stale work based on time from staging and discard instead of handing on, but be more lax about how long work can be divided for up to the scantime. 13 years ago