Con Kolivas
8f08a775ad
Use any() in kernel output code and revert breakage of diakgcn kernel.
13 years ago
Con Kolivas
d1cddf8bad
Update licensing to GPL V3.
13 years ago
Con Kolivas
810ad04578
More copyright updates.
13 years ago
Con Kolivas
83dde50f9d
Updates to diakgcn kernel courtesy of Philip Kaufmann <phil.kaufmann@t-online.de>
13 years ago
zefir
713e8be629
move CPU chipset specific optimization into device-cpu
13 years ago
Con Kolivas
52bb99c3ea
Fix double definition of A0 B0 to zeroA zeroB.
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
Philip Kaufmann
c91155ac55
made code a bit more consistent and removed 2 unneeded brackets
13 years ago
ckolivas
85e9a841d5
Use K array explicitly to make it clear what is being added.
13 years ago
ckolivas
033913ca8e
First working port of the diakgcn kernel.
13 years ago
ckolivas
1bfa82c3ce
Revert "Search for nonce if it is not found to be correct as a debugging check."
...
This reverts commit d9e07385da
.
Purely a debugging exercise.
13 years ago
ckolivas
d9e07385da
Search for nonce if it is not found to be correct as a debugging check.
13 years ago
Philip Kaufmann
68e36c6573
made code a bit more consistent and removed 2 unneeded brackets
13 years ago
ckolivas
7a069b93af
Use K array explicitly to make it clear what is being added.
13 years ago
ckolivas
53d33c753f
First working port of the diakgcn kernel.
13 years ago
Con Kolivas
8171ceab85
Simplify submit_nonce loop and avoid potentially missing FOUND - 1 entry. Reported by Luke-Jr.
13 years ago
Con Kolivas
a51514d9d1
White space cleanup.
13 years ago
Con Kolivas
4d13f8ad3c
ByteReverse is not used and the bswap opcode breaks big endian builds. Remove it.
14 years ago
Con Kolivas
cf54f9b850
Move to 256 sized buffers and don't risk overwrite by using only 127 mask.
14 years ago
Con Kolivas
0f782ba6bd
Update poclbm kernel to FF sized mask and only check that range.
14 years ago
Phateus
d15d225a4c
Changed phatk version to 2.2
14 years ago
Con Kolivas
116a9dc025
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.
14 years ago
Con Kolivas
1c070475c3
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.
14 years ago
Con Kolivas
b6ac9f185e
Revert "Make sure not to try and submit work for nonces higher than already submitted in current work item."
...
This reverts commit a2dd410e36
.
Incorrect fix. Missed real shares that are accepted.
14 years ago
Con Kolivas
a2dd410e36
Make sure not to try and submit work for nonces higher than already submitted in current work item.
...
This reduces rejects substantially.
14 years ago
Con Kolivas
cb13e2cfe5
Make it possible to build without opencl for cpu mining only.
14 years ago
Con Kolivas
13b43cfad1
Update copyright and authors.
14 years ago
ckolivas
7ae9afc40f
Profile points and warning clean ups.
14 years ago
Con Kolivas
d5d4d1da16
Don't want to free the work data out of the transient structs.
14 years ago
Con Kolivas
2b6e841673
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.
14 years ago
ckolivas
08a7821072
Make the log show what the thread is: cpu or gpu and what number.
14 years ago
ckolivas
f490143a9a
Add local thread count to info, store hw error count, and make share submission debug only.
14 years ago
Con Kolivas
6374e0fafe
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.
14 years ago
Con Kolivas
a45c54aaf8
Make postcalc_hash asynchronous as well.
14 years ago
Con Kolivas
4cd5f47efa
Revert "Multiple compiler warning fixes."
...
This reverts commit a5cbfbde2610e9f60e14b41a4e0595bcb34c772a.
Broke.
14 years ago
Con Kolivas
88761e6cf2
Multiple compiler warning fixes.
14 years ago
Con Kolivas
f117675ac2
Optimise work loop to make cl calls asynchronous where possible.
14 years ago
ckolivas
6b77d8500d
Fixes.
14 years ago
Con Kolivas
dde7039726
Merge gpumining from oclmine. Unstable.
14 years ago