Con Kolivas
eff9fe43b2
Rolling work on each loop through the mining thread serves no purpose.
13 years ago
Con Kolivas
d42d0c8ebd
Allow to stage more than necessary work items if we're just rolling work.
13 years ago
Con Kolivas
b9612715aa
Replace divide_work with reuse_work function used twice.
13 years ago
Con Kolivas
0307f9bb4e
Give rolled work a new ID to make sure there is no confusion in the hashtable lookups.
13 years ago
Con Kolivas
22526399d4
Remove unused header include.
13 years ago
Con Kolivas
d991a09e53
Remove now-defunct hash_div variables.
13 years ago
Con Kolivas
e57ac0177f
Remove unused get_dondata function.
13 years ago
Con Kolivas
c72a8b8cc9
Silence ADL warnings.
13 years ago
Con Kolivas
36d2fa485c
Silence unused parameter warnings.
13 years ago
Con Kolivas
294ac0b6bf
Stagger the restart of every next thread per device to keep devices busy ahead of accessory threads per device.
13 years ago
Con Kolivas
82f74af533
Deprecate the --donation feature.
...
Needlessly complex, questionable usefulness, depends on author's server and a central pool of some kind, and was not heavily adopted.
13 years ago
Con Kolivas
488a3b7338
It's devices that report back now, not threads.
13 years ago
Con Kolivas
23685aa41e
Continue auto-management of fan and engine speeds even if a device is disabled for safety reasons.
13 years ago
Con Kolivas
f8fed37e02
No need to check we're highest performance level when throttling GPU engine speed.
13 years ago
Con Kolivas
01659bcc6c
Abstract out tests for whether work has come from a block that has been seen before and whether a string is from a previously seen block.
13 years ago
Kano
03630c37d3
Update example web miner.php to use new API commands
13 years ago
Kano
4a714cb1f3
Bug intensity always shows GPU 0
13 years ago
ckolivas
13fa5772ad
Probe but don't set the timeout to 15 seconds as some networks take a long time to timeout.
13 years ago
ckolivas
1832b20c40
Revert "Some networks can take a long time to resolve so go back to 60 second timeouts instead of 15."
...
This reverts commit c86a670ce6
.
This changed more than just the timeout.
13 years ago
Kano
1f0a8a69db
Display accepted share pool/time for CPUs
13 years ago
Kano
096946407f
Return last accepted share pool/time for devices
13 years ago
Con Kolivas
f818c3f643
Merge pull request #103 from kanoi/master
...
Add last share's pool info in cgpu_info for use by RPC API code.
13 years ago
Kano
42fcbf7c9c
Remove most compiler warnings from api.c
13 years ago
Kano
0ebc0c9d8a
Add last share's pool info in cgpu_info
13 years ago
ckolivas
53c1e9ae37
Allow the OpenCL platform ID to be chosen with --gpu-platform.
13 years ago
ckolivas
a4f47812ff
Iterate over all platforms displaying their information and number of devices when --ndevs is called.
13 years ago
ckolivas
a1d230e879
Deprecate main.c
13 years ago
ckolivas
c86a670ce6
Some networks can take a long time to resolve so go back to 60 second timeouts instead of 15.
13 years ago
ckolivas
cda798d91b
Only enable curses on failure if curses is desired.
13 years ago
Con Kolivas
060ff71907
Merge pull request #102 from luke-jr/bugfix_bitforce_linux_rw
...
Bugfix: Need to open BitForce tty for read-write
13 years ago
ckolivas
6eee0e3874
Fix warnings in bitforce.c
13 years ago
Luke Dashjr
2f903b5d77
Bugfix: Need to open BitForce tty for read-write
13 years ago
zefir
e0b0a6c030
Modularize code: main.c -> device-cpu + device-gpu
...
This patch is an initial attempt to re-structure cgminer source
code from its monolithic design (with nearly all code being
concentrated in main.c) to a more modular one.
In this first stage, the conditionally compiled functions for
GPU and CPU mining were extracted into dedicated files:
* device-cpu.h and device-cpu.c covering WANT_CPUMINE functions
* device-gpu.h and device-gpu.c covering HAVE_OPENCL functions
The main.c file is left untouched as reference, while the
remainder without the extracted parts is located in cgminer.c.
The Makefile.am has been updated to use the re-structured
source files for the build.
Above pure re-structuring *NO* functional modifications were
made. The sources were tested to compile and run on on a
current Linux system with working CPU and GPU mining
(Bitforce not tested due to loack of hardware).
13 years ago
ckolivas
7d97ed6dd6
Fix various build issues.
13 years ago
ckolivas
55f693a80c
Revert Makefile.am component for easier merge of upcoming changes.
13 years ago
ckolivas
b34e483e96
Fix phatk kernel not working on non-bitalign capable devices (Nvidia, older ATI).
13 years ago
Con Kolivas
ebaa2be1df
Update poclbm kernel for better performance on GCN and new SDKs with bitalign support when not BFI INT patching.
...
Update phatk kernel to work properly for non BFI INT patched kernels, providing support for phatk to run on GCN and non-ATI cards.
13 years ago
Con Kolivas
c0e8819d86
Fix bitforce failing to build into cgminer.
13 years ago
Con Kolivas
269b456864
Bump version to 2.2.1
13 years ago
Con Kolivas
10b697f0da
Revert "Fix compile warnings in api.c"
...
This reverts commit 8a90f1a756
.
Breaks windows build.
13 years ago
Con Kolivas
55b386a3fc
Add missing options gpu-memdiff and gpu-reorder to write config function.
13 years ago
Con Kolivas
181b16c1d8
Update docs.
13 years ago
Con Kolivas
31a32e0789
Set virtual GPUs to work when ADL is disabled or all mining will occur on GPU 0.
13 years ago
Con Kolivas
2edc3a650c
Add information about paused threads in the menu status.
13 years ago
Con Kolivas
58897bf382
Disable the correct threads on changing to/from dynamic mode.
13 years ago
Con Kolivas
c98f81c089
Disable all but the first thread on GPUs in dynamic mode for better interactivity.
13 years ago
Con Kolivas
af5aaece97
Revert "Pass the correct GPU from the menu to the adl code."
...
This reverts commit 7bcda9a28f
.
Corrected for virtual device twice by mistake.
13 years ago
Con Kolivas
94059c06f4
Ensure all virtual_gpu entries are set when the number of ADL devices does not match the number of OpenCL devices.
13 years ago
Con Kolivas
b3d1378e34
Provide debugging advice.
13 years ago
Con Kolivas
b086430c81
Rename the dev-reorder option to --gpu-reorder since it only affects GPUs.
13 years ago