1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-10 06:48:05 +00:00
Commit Graph

1565 Commits

Author SHA1 Message Date
Philip Kaufmann
ab848057da changed base-nonce generation for non GOFFSET paths to use get_local_size(0) and left shift 2012-02-11 11:48:11 +11:00
Philip Kaufmann
1398a805a7 leave out kernel parameter "const u base", if GOFFSET (not yet implemented) is defined 2012-02-11 11:48:11 +11:00
Philip Kaufmann
dcd286182e changed format of output buffer from ulong * to uint * to be cgminer compatible 2012-02-11 11:48:11 +11:00
Philip Kaufmann
15cc3582d8 First commit - only changed date in diakgcn120208.cl 2012-02-11 11:48:11 +11:00
Con Kolivas
80cf0fd407 Diakgcn should be using the modified PreVal4 which includes T1. 2012-02-11 11:48:11 +11:00
ckolivas
cce08b6e6d Reinstate original code as much as possible for comparison. 2012-02-11 11:48:11 +11:00
ckolivas
9e9db012fb Convert to Unix EOL. 2012-02-11 11:48:11 +11:00
ckolivas
85e9a841d5 Use K array explicitly to make it clear what is being added. 2012-02-11 11:48:11 +11:00
ckolivas
49cff57098 Use correct variable on output in diakgcn kernel. 2012-02-11 11:48:11 +11:00
ckolivas
033913ca8e First working port of the diakgcn kernel. 2012-02-11 11:48:11 +11:00
ckolivas
cb7145b179 Add basic build ability with diakgcn and put all kernel names in configure.ac to avoid changing them in mutliple places. 2012-02-11 11:48:11 +11:00
ckolivas
3af3cbe96a Import diakgcn kernel. 2012-02-11 11:48:11 +11:00
Con Kolivas
2fa142d1ce One array is faster than 2 separate arrays so change to that in poclbm kernel.. 2012-02-11 02:12:34 +11:00
Con Kolivas
1355859742 Microoptimisations to poclbm kernel which increase throughput slightly. 2012-02-10 18:16:25 +11:00
ckolivas
cef90ab0ff Merge branch 'kernels' into diablo 2012-02-10 17:02:26 +11:00
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.
2012-02-10 17:02:13 +11:00
ckolivas
6776b0ea9d Use only working kernels by default. 2012-02-10 16:45:35 +11:00
ckolivas
d9e07385da Search for nonce if it is not found to be correct as a debugging check. 2012-02-10 15:19:45 +11:00
ckolivas
92283efd17 Make vectors compile in diablokernel. 2012-02-10 15:04:54 +11:00
ckolivas
467ba35275 Convert #if to #ifdef in diablo .cl. 2012-02-10 14:42:47 +11:00
ckolivas
2270b4e053 Implement diablo kernel support and try to make it work. 2012-02-10 14:33:40 +11:00
ckolivas
c864dbe62d Import diablominer kernel. 2012-02-10 13:52:33 +11:00
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. 2012-02-10 13:18:16 +11:00
ckolivas
fa5f4a649b Set cl_amd_media_ops with the BITALIGN flag and allow non-bitselect devices to build. 2012-02-10 10:47:39 +11:00
ckolivas
35ea31b1a5 ALlow much longer filenames for kernels to load properly. 2012-02-10 10:28:45 +11:00
ckolivas
8af2365e6e Allow different kernels to be used by different devices and fix the logic fail of overcorrecting on last commit with !strstr. 2012-02-10 10:23:06 +11:00
Con Kolivas
2b23805e1d Fix kernel selection process and build error. 2012-02-10 09:10:57 +11:00
Con Kolivas
c462ba5bc9 Merge branch 'diakgcn' of https://github.com/Diapolo/cgminer into diakgcn 2012-02-10 08:28:31 +11:00
Philip Kaufmann
0fe8b60783 instead of uint *, int * was used as type for the output buffer (self-made bug from a former commmit) 2012-02-09 21:30:01 +01:00
Philip Kaufmann
68e36c6573 made code a bit more consistent and removed 2 unneeded brackets 2012-02-09 19:59:35 +01:00
Philip Kaufmann
7dfac0fab7 queue_phatk_kernel now uses CL_SET_VARG() for base-nonce(s), too 2012-02-09 15:37:00 +01:00
Philip Kaufmann
ed7210af6c added OpenCL >= 1.1 detection code, in preparation of OpenCL 1.1 global offset parameter support 2012-02-09 15:15:03 +01:00
Con Kolivas
b2f81c955b Merge branch 'diakgcn' of https://github.com/Diapolo/cgminer into diakgcn 2012-02-10 00:48:23 +11:00
Con Kolivas
2c7baa49ca Merge branch 'diakgcn' of https://github.com/ckolivas/cgminer into diakgcn 2012-02-10 00:48:03 +11:00
Philip Kaufmann
6d997d4567 renamed all rot-functions to rotr to be clear that it is a rotate right 2012-02-09 14:21:47 +01:00
Philip Kaufmann
05c74b05e0 changed base-nonce generation for non GOFFSET paths to use get_local_size(0) and left shift 2012-02-09 14:08:55 +01:00
Philip Kaufmann
ecd2b0db6b leave out kernel parameter "const u base", if GOFFSET (not yet implemented) is defined 2012-02-09 14:01:59 +01:00
Philip Kaufmann
0834250842 changed format of output buffer from ulong * to uint * to be cgminer compatible 2012-02-09 13:58:27 +01:00
Philip Kaufmann
f25075c889 First commit - only changed date in diakgcn120208.cl 2012-02-09 13:36:07 +01:00
Con Kolivas
6e3ad7ad25 Logic fail on queue request. 2012-02-09 22:40:33 +11:00
Con Kolivas
d40979d173 No point discarding a share even if opt_fail is enabled. 2012-02-09 22:28:59 +11:00
Con Kolivas
435e5c85f6 Work items have a tendency to expire at exactly the same time and we don't queue extra items when there are plenty in the queue, regardless of age.
Allow extra work items to be queued if adequate time has passed since we last requested work even if over the limit.
2012-02-09 22:27:20 +11:00
Con Kolivas
ffbf15ad82 Discard work when failover-only is enabled and the work has come from a different pool. 2012-02-09 22:00:04 +11:00
Con Kolivas
b54d462c85 Missing include to build on newer mingw32. 2012-02-09 21:56:07 +11:00
Con Kolivas
5b4761003c Move from the thread safe localtime_r to regular localtime which is the only one supported on newer pthread libraries on mingw32 to make it compile with
the newer ming. Thread safety is of no importance where localtime is used in this code.
2012-02-09 21:54:23 +11:00
Con Kolivas
041d6689bc Diakgcn should be using the modified PreVal4 which includes T1. 2012-02-08 21:03:20 +11:00
Kano
e5b856be4e Remove extra not needed trash :) 2012-02-08 20:08:01 +11:00
Kano
dab9b7e477 Define in_addr_t in windows if required 2012-02-08 19:55:29 +11:00
Kano
95e1e195ac sys/wait.h not required in windows 2012-02-08 19:07:41 +11:00
Kano
f19e67fe3a Allow API to restrict access by IP address 2012-02-08 19:06:24 +11:00