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

1263 Commits

Author SHA1 Message Date
Con Kolivas
1865a01a2b Make bitforce support default to disabled. 2012-01-29 10:27:16 +11:00
Con Kolivas
5c8829c17b Fix misdefine. 2012-01-29 09:23:27 +11:00
Con Kolivas
9566a93372 Merge branch 'master' into reorder 2012-01-28 17:06:59 +11:00
Con Kolivas
31f6e8c782 Unset prog_built after it is patched because it needs rebuilding. 2012-01-28 17:06:28 +11:00
Con Kolivas
310f55d0c9 Merge branch 'master' into reorder 2012-01-28 16:29:53 +11:00
Con Kolivas
1e5035497b Retain cl program after every possible place we might build the program. 2012-01-28 16:29:19 +11:00
Con Kolivas
25caca9086 Revert "Don't explicitly retain the cl program as it is of no benefit to do so and may lead to problems when trying to release the program."
This reverts commit 32910463a3.

Turns out this does help.
2012-01-28 16:26:53 +11:00
Con Kolivas
075ff6bf7a Merge branch 'master' into reorder 2012-01-28 16:14:54 +11:00
Con Kolivas
80650dd919 Define O_CLOEXEC for older headers that don't have it. 2012-01-28 16:13:49 +11:00
Con Kolivas
5af40de97c Update ADL SDK URL. 2012-01-28 16:01:19 +11:00
Con Kolivas
f05e298e9b Update ADL SDK URL. 2012-01-28 16:00:56 +11:00
Con Kolivas
4bf01f012f Fix potential overflow. 2012-01-28 12:08:55 +11:00
Con Kolivas
059701272c Carry virtual gpu number across. 2012-01-28 11:26:56 +11:00
Con Kolivas
3bc0583454 Iterate and change virtual device order instead of shuffling ram. 2012-01-28 11:19:28 +11:00
Con Kolivas
371e5f688a Reorder displayed devices to map to physical locations and initialise according to logical location instead. 2012-01-28 09:22:33 +11:00
Con Kolivas
5a0b4f62d0 Map GPU devices to virtual devices in their true physical order based on BusNumber. 2012-01-28 01:56:12 +11:00
Con Kolivas
5869382d40 Change the warning that comes with failure to init cl on a device to be more generic and accurate. 2012-01-26 23:56:51 +11:00
Luke Dashjr
fe88648e5d Advertise longpoll support in X-Mining-Extensions 2012-01-26 23:32:50 +11:00
Con Kolivas
06fd9c4a4c Detect dual GPU cards by iterating through all GPUs, finding ones without fanspeed and matching twins with fanspeed one bus ID apart. 2012-01-26 23:27:10 +11:00
Con Kolivas
1334e17c52 Merge pull request #96 from kanoi/master
Move intensity range values into miner.h
2012-01-26 02:08:16 -08:00
Con Kolivas
32910463a3 Don't explicitly retain the cl program as it is of no benefit to do so and may lead to problems when trying to release the program. 2012-01-26 20:53:35 +11:00
Con Kolivas
d18d55649f Do not attempt to build the program that becomes the kernel twice. This could have been leading to failures on initialising cl. 2012-01-26 20:39:35 +11:00
Con Kolivas
c87460b34e Typo. 2012-01-26 19:42:57 +11:00
Con Kolivas
2ecabd8535 Some opencl compilers have issues with no spaces after -D in the compiler options. 2012-01-26 19:38:15 +11:00
Kano
5e9676c23c Allow dynamic to adjust up to MAX_INTENSITY 2012-01-26 16:03:26 +11:00
Kano
487327f83d Remove compile warning 2012-01-26 14:06:31 +11:00
Kano
63e31b4d78 Move intensity range values into miner.h 2012-01-26 14:00:52 +11:00
Con Kolivas
a992b5d89d Allow intensity up to 14 for multiple devices as well. 2012-01-26 13:18:57 +11:00
Con Kolivas
d662c9c626 Allow intensity up to 14. 2012-01-26 13:12:56 +11:00
Con Kolivas
77e9b1c2e8 Use calloced stack memory for CompilerOptions to ensure sprintf writes to the beginning of the char. 2012-01-26 13:06:39 +11:00
Con Kolivas
d7aac25489 Whitelist 79x0 cards to prefer no vectors as they perform better without. 2012-01-26 11:44:42 +11:00
ckolivas
4995b7c241 On dual GPUs, only autotune the shared fan once per gpu autotune cycle. 2012-01-25 16:34:39 +11:00
ckolivas
c009c6cd74 Don't try to explicitly drift to exactly the target temperature, aim for just below it. 2012-01-25 16:16:28 +11:00
ckolivas
312724cea1 Adjust fan speed gently while in the optimal range when temperature is drifting to minimise overshoot in either direction. 2012-01-25 15:48:28 +11:00
Con Kolivas
9549dacf99 Detect dual GPU cards via the indirect information of - 1st card has a fan controller. 2nd card does not have a fan controller, cards share the same
device name, and are one bus ID apart. Use this information to create paired devices, displaying the fan speed on both devices and using the hottest
temperature from either GPU to control the overall fanspeed.
2012-01-25 01:19:58 +11:00
Con Kolivas
d485261e92 Fix broken non-win32 build with bitforce enabled. 2012-01-24 20:26:33 +11:00
Con Kolivas
3d4cfce8df Instead of using the BFI_INT patching hack on any device reporting cl_amd_media_ops, create a whitelist of devices that need it.
This should enable GCN architectures (ATI 79xx cards) to work properly.
2012-01-24 20:23:44 +11:00
Con Kolivas
91f8901df2 Merge pull request #92 from luke-jr/bitforce_win32
BitForce Windows support
2012-01-23 22:54:38 -08:00
Luke Dashjr
4ae7baf0e1 BitForce: Need to use CreateFile and low-level (descriptor-based) C APIs on Windows, since fopen doesn't work with serial ports 2012-01-24 01:23:31 -05:00
Con Kolivas
22a1850cbc Merge pull request #90 from p2k/master
Fixed API compiling issue on OS X
2012-01-23 03:26:24 -08:00
p2k
c89ef81010 Fixed API compiling issue on OS X 2012-01-23 12:25:16 +01:00
Con Kolivas
7ac4b7806f Merge pull request #89 from kanoi/master
Return an error if using ADL API commands when it's not available
2012-01-22 21:56:51 -08:00
Kano
2e16d5e543 Add more explanation of JSON format and the 'save' command 2012-01-23 15:32:48 +11:00
Kano
a1cd9defba Return an error if using ADL API commands when it's not available 2012-01-23 15:25:59 +11:00
Con Kolivas
990bb4a994 Set iSize for thermal device enum first. 2012-01-23 10:54:21 +11:00
Con Kolivas
2d29cdb611 Read off lpThermalControllerInfo from each ADL device. 2012-01-23 09:25:53 +11:00
Con Kolivas
1e1519e93e Add ADL_Overdrive5_ThermalDevices_Enum interface. 2012-01-23 09:20:21 +11:00
Con Kolivas
91554b93c8 Update NEWS. 2012-01-22 20:38:18 +11:00
Con Kolivas
6442c1aba0 Style police. 2012-01-22 20:36:57 +11:00
Con Kolivas
8b65144934 Merge pull request #88 from midnightmagic/gimme_back_tcp_nodelay
Bring back TCP_NODELAY, selectively when opt_delaynet is disabled only.
2012-01-22 01:36:21 -08:00