Con Kolivas
37374bb44b
Make shutdown more robust.
...
Enable the input thread only after the other threads exist.
Don't kill off the workio thread and use it to exit main() only if there is an unexpected problem.
Use kill_work() for all anticipated shutdowns where possible.
Remove unused thread entry.
13 years ago
Con Kolivas
5fbd03459a
Merge branch 'kernels' of github.com:ckolivas/cgminer into kernels
...
Conflicts:
configure.ac
device-gpu.c
poclbm120203.cl
13 years ago
Con Kolivas
cad84c6f2c
Change poclbm version number.
13 years ago
Con Kolivas
3d4c78ca89
Leave diakgcn and diablo kernels as silent options for now since they don't work.
13 years ago
Con Kolivas
4f1676f67f
One array is faster than 2 separate arrays so change to that in poclbm kernel..
13 years ago
Con Kolivas
f5903e609d
Microoptimisations to poclbm kernel which increase throughput slightly.
13 years ago
ckolivas
f2d5db0c77
Use only working kernels by default.
13 years ago
ckolivas
b7fa2b50e0
Make vectors compile in diablokernel.
13 years ago
ckolivas
451b82df97
Convert #if to #ifdef in diablo .cl.
13 years ago
ckolivas
59d3d0112b
Implement diablo kernel support and try to make it work.
13 years ago
ckolivas
e2a9c667d6
Import diablominer kernel.
13 years ago
ckolivas
95a989da4d
Conflicting entries of cl_kernel may have been causing problems, and automatically chosen kernel type was not being passed on. Rename the enum to cl_kernels and store the chosen kernel in each clState.
13 years ago
ckolivas
604b2f7645
Set cl_amd_media_ops with the BITALIGN flag and allow non-bitselect devices to build.
13 years ago
ckolivas
e6cf96adfa
ALlow much longer filenames for kernels to load properly.
13 years ago
ckolivas
4822cca72b
Allow different kernels to be used by different devices and fix the logic fail of overcorrecting on last commit with !strstr.
13 years ago
Con Kolivas
196e8a0f76
Fix kernel selection process and build error.
13 years ago
Philip Kaufmann
ec2dfeacc1
instead of uint *, int * was used as type for the output buffer (self-made bug from a former commmit)
13 years ago
Philip Kaufmann
c91155ac55
made code a bit more consistent and removed 2 unneeded brackets
13 years ago
Philip Kaufmann
17feecac8c
queue_phatk_kernel now uses CL_SET_VARG() for base-nonce(s), too
13 years ago
Philip Kaufmann
47a09ceab8
added OpenCL >= 1.1 detection code, in preparation of OpenCL 1.1 global offset parameter support
13 years ago
Philip Kaufmann
c43dd734cb
renamed all rot-functions to rotr to be clear that it is a rotate right
13 years ago
Philip Kaufmann
ab848057da
changed base-nonce generation for non GOFFSET paths to use get_local_size(0) and left shift
13 years ago
Philip Kaufmann
1398a805a7
leave out kernel parameter "const u base", if GOFFSET (not yet implemented) is defined
13 years ago
Philip Kaufmann
dcd286182e
changed format of output buffer from ulong * to uint * to be cgminer compatible
13 years ago
Philip Kaufmann
15cc3582d8
First commit - only changed date in diakgcn120208.cl
13 years ago
Con Kolivas
80cf0fd407
Diakgcn should be using the modified PreVal4 which includes T1.
13 years ago
ckolivas
cce08b6e6d
Reinstate original code as much as possible for comparison.
13 years ago
ckolivas
9e9db012fb
Convert to Unix EOL.
13 years ago
ckolivas
85e9a841d5
Use K array explicitly to make it clear what is being added.
13 years ago
ckolivas
49cff57098
Use correct variable on output in diakgcn kernel.
13 years ago
ckolivas
033913ca8e
First working port of the diakgcn kernel.
13 years ago
ckolivas
cb7145b179
Add basic build ability with diakgcn and put all kernel names in configure.ac to avoid changing them in mutliple places.
13 years ago
ckolivas
3af3cbe96a
Import diakgcn kernel.
13 years ago
Con Kolivas
2fa142d1ce
One array is faster than 2 separate arrays so change to that in poclbm kernel..
13 years ago
Con Kolivas
1355859742
Microoptimisations to poclbm kernel which increase throughput slightly.
13 years ago
ckolivas
cef90ab0ff
Merge branch 'kernels' into diablo
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
6776b0ea9d
Use only working kernels by default.
13 years ago
ckolivas
d9e07385da
Search for nonce if it is not found to be correct as a debugging check.
13 years ago
ckolivas
92283efd17
Make vectors compile in diablokernel.
13 years ago
ckolivas
467ba35275
Convert #if to #ifdef in diablo .cl.
13 years ago
ckolivas
2270b4e053
Implement diablo kernel support and try to make it work.
13 years ago
ckolivas
c864dbe62d
Import diablominer kernel.
13 years ago
ckolivas
02c94272b4
Conflicting entries of cl_kernel may have been causing problems, and automatically chosen kernel type was not being passed on. Rename the enum to cl_kernels and store the chosen kernel in each clState.
13 years ago
ckolivas
fa5f4a649b
Set cl_amd_media_ops with the BITALIGN flag and allow non-bitselect devices to build.
13 years ago
ckolivas
35ea31b1a5
ALlow much longer filenames for kernels to load properly.
13 years ago
ckolivas
8af2365e6e
Allow different kernels to be used by different devices and fix the logic fail of overcorrecting on last commit with !strstr.
13 years ago
Con Kolivas
2b23805e1d
Fix kernel selection process and build error.
13 years ago
Con Kolivas
c462ba5bc9
Merge branch 'diakgcn' of https://github.com/Diapolo/cgminer into diakgcn
13 years ago
Philip Kaufmann
0fe8b60783
instead of uint *, int * was used as type for the output buffer (self-made bug from a former commmit)
13 years ago