Noel Maersk
199cb10e18
HAVE_OPENCL is mandatory, remove checks form code an build system.
11 years ago
Noel Maersk
95586f72f0
Squash-merge branch dead-end with unnecessary check removals.
11 years ago
Con Kolivas
b196d4fa0c
Support more shares to be returned for scrypt mining.
12 years ago
Con Kolivas
86d5377e72
Use atomic ops to never miss a nonce on opencl kernels, including nonce==0, also allowing us to make the output buffer smaller.
12 years ago
Con Kolivas
1b5c676de7
Use 256 output slots for kernels to allow 1 for each worksize.
13 years ago
Con Kolivas
02e126f42d
The worksize was unintentionally changed back to 4k by mistake, this caused a slowdown.
14 years ago
Con Kolivas
bd79a61c43
Move poclbm to new branch optimisation as well.
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
Con Kolivas
eea05c05b8
Update kernel with a shorter output path, and use 4k output buffer to match OS page sizes.
14 years ago
Con Kolivas
cb13e2cfe5
Make it possible to build without opencl for cpu mining only.
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
e1dd27c5c2
Ensure that we don't overflow due to 32 bit limitations.
14 years ago
Con Kolivas
a45c54aaf8
Make postcalc_hash asynchronous as well.
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