Con Kolivas
46592a24f4
Use uint16 in SHA256 in scrypt kernel.
13 years ago
Con Kolivas
fdcaea1c13
Start with smaller amount of hashes in cpu mining to enable scrypt to return today sometime.
13 years ago
Con Kolivas
6c6c285268
Show Khash hashrates when scrypt is in use.
13 years ago
Con Kolivas
54f1b80824
Free the scratchbuf memory allocated in scrypt and don't check if CPUs are sick since they can't be. Prepare for khash hash rates in display.
13 years ago
Con Kolivas
a5ebb71216
Add cpumining capability for scrypt.
13 years ago
Con Kolivas
243d005b1b
Set scrypt settings and buffer size in ocl.c code to be future modifiable.
13 years ago
Con Kolivas
bd10764e76
Cope with when we cannot set intensity low enough to meet dynamic interval by inducing a forced sleep.
13 years ago
Con Kolivas
238db52aa6
Make dynamic and scrypt opencl calls blocking.
13 years ago
Con Kolivas
41daf99537
Calculate midstate in separate function and remove likely/unlikely macros since they're dependent on pools, not code design.
13 years ago
Con Kolivas
8230ab0549
Display in debug mode when we're making the midstate locally.
13 years ago
Con Kolivas
ea444d0239
Fix nonce submission code for scrypt.
13 years ago
Con Kolivas
aabc723326
Make sure goffset is set for scrypt and drop padbuffer8 to something manageable for now.
13 years ago
Con Kolivas
e0296c411b
Set up buffer8 for scrypt.
13 years ago
Con Kolivas
8fd3bf74df
Build fix for opt scrypt.
13 years ago
Con Kolivas
1aacfe5279
Don't check postcalc nonce with sha256 in scrypt.
13 years ago
Con Kolivas
0f43eb5eb7
Don't test nonce with sha and various fixes for scrypt.
13 years ago
Con Kolivas
b085c338f6
Make scrypt buffers and midstate compatible with cgminer.
13 years ago
Con Kolivas
2ed4072b5e
Use cgminer specific output array entries in scrypt kernel.
13 years ago
Con Kolivas
dd740caa98
Provide initial support for the scrypt kernel to compile with and mine scrypt with the --scrypt option.
13 years ago
Con Kolivas
5a65415b1e
Enable completely compiling scrypt out.
13 years ago
Con Kolivas
176cdf8bbc
Begin import of scrypt opencl kernel from reaper.
13 years ago
Con Kolivas
b6a23d0027
bitforce_get_result returns -1 on error now.
13 years ago
Con Kolivas
761bd77288
Merge pull request #267 from luke-jr/bugfix_winsleep
...
Fix Windows build
13 years ago
Con Kolivas
d3b8b4d905
Merge pull request #266 from luke-jr/api_select_life
...
rpc: Use a single switch statement for both stringifications of cgpu->status
13 years ago
Con Kolivas
aa723e7102
Check return value of read in BFgets
13 years ago
Luke Dashjr
68111323b3
Bugfix: Make our Windows nanosleep/sleep replacements standards-compliant (which fixes nmsleep) and include compat.h for bitforce (for sleep)
13 years ago
Luke Dashjr
a854779077
rpc: Use a single switch statement for both stringifications of cgpu->status
13 years ago
Con Kolivas
cdf325d751
Merge branch 'master' of github.com:ckolivas/cgminer
13 years ago
Con Kolivas
ac55cec60b
Fix whitespace mangling.
13 years ago
Con Kolivas
c1c99f1dd2
Merge https://github.com/pshep/cgminer into pshep
13 years ago
Con Kolivas
89e613b943
Revert "Change BFL driver thread initialising to a constant 100ms delay between devices instead of a random arrangement."
...
This reverts commit 0785886b53
.
13 years ago
Con Kolivas
94628b1d1c
Merge pull request #265 from kanoi/minerphp
...
miner.php fix rig # when miners fail
13 years ago
Kano
09bdf81644
miner.php fix rig # when miners fail
13 years ago
Con Kolivas
cbef2a6a65
Only try to shut down work cleanly if we've successfully connected and started mining.
13 years ago
Con Kolivas
0ed757a020
Use switch statement for cgpu->status and fix spelling.
13 years ago
Con Kolivas
31ddad67b6
Merge pull request #263 from luke-jr/bugfix_nmsleep
...
Bugfix: Calculate nsec in nmsleep correctly
13 years ago
Con Kolivas
96f3a98838
Merge pull request #264 from luke-jr/life_init
...
Bugfix: Don't declare devices SICK if they're just busy initializing
13 years ago
Con Kolivas
f168d9696e
Merge pull request #262 from luke-jr/bugfix_ocl_err
...
Bugfix: Adapt OpenCL scanhash errors to driver API change
13 years ago
Con Kolivas
c16ff2e988
Merge pull request #258 from zefir-k/master
...
fix API support for big endian machines
13 years ago
Con Kolivas
b3d8575cbe
Merge pull request #260 from kanoi/minerphp
...
miner.php allow rig names in number buttons
13 years ago
Paul Sheppard
d4d5b28e5f
Abbrv. correction
13 years ago
Luke Dashjr
c57c308d1f
Bugfix: Don't declare devices SICK if they're just busy initializing
...
This mainly applies to ModMiner since it takes 4-5 minutes to upload the bitstream
13 years ago
Luke Dashjr
9c648c1749
Bugfix: Calculate nsec in nmsleep correctly
...
The old algorithm (msecs * 1000000) - (sec / 1000000000) gets total nsec,
including seconds, since the sec/1e9 should be multiplying. It's also
vulnerable to easy overflows. Using ldiv gets the quotient and remainder
in a single operation (at least on x86) and avoids overflow.
13 years ago
Luke Dashjr
a3998e26e8
Bugfix: Adapt OpenCL scanhash errors to driver API change (errors are now -1, not 0)
13 years ago
Paul Sheppard
5f0a22d230
Remove superfluous ave_wait
13 years ago
Paul Sheppard
c37a3f3007
Put kname change for broken nonce-range back in
13 years ago
Paul Sheppard
2c54522d7d
Add average wait time to api stats
13 years ago
Paul Sheppard
01a69ee45e
Revert "Merge branch 'ave_time' of https://github.com/pshep/cgminer.git "
...
This reverts commit 242e52cdf9
, reversing
changes made to 4dc1bf2319
.
13 years ago
ckolivas
0785886b53
Change BFL driver thread initialising to a constant 100ms delay between devices instead of a random arrangement.
13 years ago
ckolivas
9eaac43982
Spelling typo.
13 years ago