findnonce.c


Log

Author Commit Date CI Message
Con Kolivas 8171ceab 2012-01-15T21:39:49 Simplify submit_nonce loop and avoid potentially missing FOUND - 1 entry. Reported by Luke-Jr.
Con Kolivas a51514d9 2011-12-27T10:30:04 White space cleanup.
Con Kolivas 4d13f8ad 2011-09-07T09:02:28 ByteReverse is not used and the bswap opcode breaks big endian builds. Remove it.
Con Kolivas cf54f9b8 2011-08-17T16:07:15 Move to 256 sized buffers and don't risk overwrite by using only 127 mask.
Con Kolivas 0f782ba6 2011-08-17T15:47:18 Update poclbm kernel to FF sized mask and only check that range.
Phateus d15d225a 2011-08-16T23:19:46 Changed phatk version to 2.2
Con Kolivas 116a9dc0 2011-07-23T14:17:25 Update phatk kernel to one with new parameters for slightly less overhead again. Make the queue kernel parameters call a function pointer to select phatk or poclbm.
Con Kolivas 1c070475 2011-07-17T23:38:29 Cycling over 1026 nonces is a remnant of old code not relevant now and can just lead to repeat submission of the same block increasing rejects. Remove it.
Con Kolivas b6ac9f18 2011-07-17T20:06:43 Revert "Make sure not to try and submit work for nonces higher than already submitted in current work item." This reverts commit a2dd410e362116a12ac5609da77abb3a5ee1b736. Incorrect fix. Missed real shares that are accepted.
Con Kolivas a2dd410e 2011-07-17T19:33:53 Make sure not to try and submit work for nonces higher than already submitted in current work item. This reduces rejects substantially.
Con Kolivas cb13e2cf 2011-07-05T19:47:03 Make it possible to build without opencl for cpu mining only.
Con Kolivas 13b43cfa 2011-07-03T00:28:51 Update copyright and authors.
ckolivas 7ae9afc4 2011-07-01T14:16:41 Profile points and warning clean ups.
Con Kolivas d5d4d1da 2011-06-30T14:41:01 Don't want to free the work data out of the transient structs.
Con Kolivas 2b6e8416 2011-06-29T23:38:16 Use a buffer of up to 512 * 4 integers when retrieving work from the GPU. This allows each local thread id to have one slot to put any positive results into, thus making overlapping results far less likely. Thus races will be much rarer, allowing more threads. It should also pick up blocks close to each other more reliably and hopefully decrease the number of rejects and opencl errors. Do the search over the buffer entirely in a separate thread to allow the GPU to stay as busy as possible. Detach threads from themselves to prevent unlucky even where dereferencing occurs by freeing the data that stores the thread info.
ckolivas f490143a 2011-06-29T09:22:21 Add local thread count to info, store hw error count, and make share submission debug only.
Con Kolivas 6374e0fa 2011-06-28T21:11:04 Import the phatk kernel. Enable it only for hardware with amd media ops for now since it crashes nvidia et. al. Fallback to the poclbm kernel for the rest. Try harder to avoid stale blocks around longpoll detecting new blocks.
Con Kolivas a45c54aa 2011-06-27T11:31:05 Make postcalc_hash asynchronous as well.
ckolivas 08a78210 2011-06-29T10:12:00 Make the log show what the thread is: cpu or gpu and what number.
Con Kolivas 88761e6c 2011-06-23T21:04:29 Multiple compiler warning fixes.
ckolivas 6b77d850 2011-06-17T14:00:41 Fixes.
Con Kolivas 4cd5f47e 2011-06-23T21:09:22 Revert "Multiple compiler warning fixes." This reverts commit a5cbfbde2610e9f60e14b41a4e0595bcb34c772a. Broke.
Con Kolivas f117675a 2011-06-22T10:15:23 Optimise work loop to make cl calls asynchronous where possible.
Con Kolivas dde70397 2011-06-14T10:32:54 Merge gpumining from oclmine. Unstable.