Log

Author Commit Date CI Message
ckolivas 6eee0e38 2012-02-04T10:34:37 Fix warnings in bitforce.c
ckolivas 7d97ed6d 2012-02-04T10:18:29 Fix various build issues.
zefir e0b0a6c0 2012-01-30T23:11:39 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).
ckolivas 55f693a8 2012-02-04T09:59:20 Revert Makefile.am component for easier merge of upcoming changes.
ckolivas b34e483e 2012-02-04T09:52:26 Fix phatk kernel not working on non-bitalign capable devices (Nvidia, older ATI).
Con Kolivas ebaa2be1 2012-02-03T18:19:39 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.
Con Kolivas c0e8819d 2012-01-31T00:20:58 Fix bitforce failing to build into cgminer.
Con Kolivas 269b4568 2012-01-30T23:57:22 Bump version to 2.2.1
Con Kolivas 10b697f0 2012-01-30T23:56:54 Revert "Fix compile warnings in api.c" This reverts commit 8a90f1a756b60914afe61b2ea7362313026a9f1a. Breaks windows build.
Con Kolivas 55b386a3 2012-01-30T23:41:43 Add missing options gpu-memdiff and gpu-reorder to write config function.
Con Kolivas 181b16c1 2012-01-30T23:31:30 Update docs.
Con Kolivas 31a32e07 2012-01-30T22:38:57 Set virtual GPUs to work when ADL is disabled or all mining will occur on GPU 0.
Con Kolivas 2edc3a65 2012-01-30T22:25:28 Add information about paused threads in the menu status.
Con Kolivas 58897bf3 2012-01-30T22:18:29 Disable the correct threads on changing to/from dynamic mode.
Con Kolivas c98f81c0 2012-01-30T21:59:09 Disable all but the first thread on GPUs in dynamic mode for better interactivity.
Con Kolivas af5aaece 2012-01-30T21:15:47 Revert "Pass the correct GPU from the menu to the adl code." This reverts commit 7bcda9a28fcaff801ed9ee9e0b6613cbdb3be646. Corrected for virtual device twice by mistake.
Con Kolivas 94059c06 2012-01-30T21:07:16 Ensure all virtual_gpu entries are set when the number of ADL devices does not match the number of OpenCL devices.
Con Kolivas b3d1378e 2012-01-30T20:19:48 Provide debugging advice.
Con Kolivas b086430c 2012-01-30T19:27:22 Rename the dev-reorder option to --gpu-reorder since it only affects GPUs.
Con Kolivas bdec295f 2012-01-30T17:58:22 Set the latest network access time on share submission for --net-delay even if we're not delaying that submission for further network access.
Con Kolivas 4b994b01 2012-01-29T22:55:59 Merge pull request #98 from kanoi/master Fix compile warnings in api.c/ Fix midstate
Kano b188157c 2012-01-30T16:43:14 Resume advertising midstate support
Kano 0c272370 2012-01-30T16:37:09 Ensure numbers are 32bits in sha2.c
Kano 280588c1 2012-01-30T16:34:10 Merge remote-tracking branch 'conman/master'
Con Kolivas 3de7c7f9 2012-01-30T15:51:46 Stop advertising midstate support until it's fixed.
Con Kolivas c9404f4d 2012-01-30T15:33:55 Make sure to set virtual adapters if --dev-reorder is not enabled or device numbers don't match.
Con Kolivas ba74fe56 2012-01-30T15:26:41 Clear adl on exiting after probing values since it may attempt to overclock.
Kano 98d789bd 2012-01-30T15:23:23 Merge remote-tracking branch 'conman/master'
Con Kolivas 5a14ec53 2012-01-30T15:21:14 Add a --dev-reorder option to only reorder devices according to PCI Bus ID when requested.
Con Kolivas 09184720 2012-01-30T15:09:58 As share submission is usually staggered, and delays can be costly, submit shares without delay even when --net-delay is enabled.
Con Kolivas 7bcda9a2 2012-01-30T12:42:43 Pass the correct GPU from the menu to the adl code.
Con Kolivas a73156ac 2012-01-30T10:02:51 Display GPU number and device name when ADL is successfully enabled on it.
Con Kolivas 176bbcbc 2012-01-30T09:44:19 Display GPU ordering remapping in verbose mode.
Con Kolivas 89196038 2012-01-30T09:15:20 Don't fail in the case the number of ADL and OpenCL devices do not match, and do not attempt to reorder devices unless they match. Instead give a warning about the likely cause and the potential consequence of it - Hardware monitoring may NOT match up with devices.
Con Kolivas f0746f0b 2012-01-30T08:18:50 Display error codes should ADL not return ADL_OK in the more critical function calls.
Con Kolivas 5747b070 2012-01-30T08:07:12 Fix unused warning.
Con Kolivas cdcaaba6 2012-01-30T08:06:23 Revert "Add ADL_Overdrive5_ThermalDevices_Enum interface." This reverts commit 1e1519e93ec6a3de432dd0b34504675f037c3542.
Con Kolivas 430a1954 2012-01-30T08:06:00 Revert "Read off lpThermalControllerInfo from each ADL device." This reverts commit 2d29cdb6117be29ff6353d94a6be0784a588fdb6.
Con Kolivas 4ae0aad1 2012-01-30T08:05:36 Revert "Set iSize for thermal device enum first." This reverts commit 990bb4a994261fb0aca8a6bd1b324a3007583207. Thermal devices is not used. 1st of 3 reverts.
Kano 8a90f1a7 2012-01-29T23:13:23 Fix compile warnings in api.c
Con Kolivas 82af288e 2012-01-29T22:57:29 Revert "Fix various harmless warnings." This reverts commit a4b67f030fc0c7e2b18e79114a441c1e1617d5f8.
Con Kolivas a4b67f03 2012-01-29T21:06:17 Fix various harmless warnings.
Con Kolivas a8e46a07 2012-01-29T20:47:08 Add extensive ADL based device info in debug mode.
Con Kolivas 53095da3 2012-01-29T17:32:00 Make --ndevs display verbose opencl information as well to make debugging version information easier.
Con Kolivas b8f845b4 2012-01-29T16:43:38 Display information about the opencl platform with verbose enabled.
ckolivas 5d5584f8 2012-01-29T16:31:03 Explicitly check for nvidia in opencl platform strings as well.
Con Kolivas 83a83676 2012-01-29T13:49:08 Linux's ADL uses a busnumber in descending order for devices so enumerate them in the opposite order to windows.
Con Kolivas 09ea6bd2 2012-01-29T12:07:18 Bump version number up 2.2.0
Con Kolivas ae044ec3 2012-01-29T12:02:22 Update NEWS.
Con Kolivas a3d90f84 2012-01-29T11:01:17 Default to poclbm kernel on Tahiti (7970) since phatk does not work, even though performance is sub-standard so that at least it will mine successfully by default.
Con Kolivas 995b6dc8 2012-01-29T10:52:24 Make bitforce off not compile bitforce.c properly.
Con Kolivas 49e35799 2012-01-29T10:32:57 README updates.
Con Kolivas 1865a01a 2012-01-29T10:27:16 Make bitforce support default to disabled.
Con Kolivas 5c8829c1 2012-01-29T09:23:27 Fix misdefine.
Con Kolivas 9566a933 2012-01-28T17:06:59 Merge branch 'master' into reorder
Con Kolivas 31f6e8c7 2012-01-28T17:06:28 Unset prog_built after it is patched because it needs rebuilding.
Con Kolivas 310f55d0 2012-01-28T16:29:53 Merge branch 'master' into reorder
Con Kolivas 1e503549 2012-01-28T16:29:19 Retain cl program after every possible place we might build the program.
Con Kolivas 25caca90 2012-01-28T16:26:53 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 32910463a3124265b56aca48a6c0fbb107ccfb70. Turns out this does help.
Con Kolivas 075ff6bf 2012-01-28T16:14:54 Merge branch 'master' into reorder
Con Kolivas 80650dd9 2012-01-28T16:13:49 Define O_CLOEXEC for older headers that don't have it.
Con Kolivas 5af40de9 2012-01-28T16:00:56 Update ADL SDK URL.
Con Kolivas f05e298e 2012-01-28T16:00:56 Update ADL SDK URL.
Con Kolivas 4bf01f01 2012-01-28T12:08:55 Fix potential overflow.
Con Kolivas 05970127 2012-01-28T11:26:56 Carry virtual gpu number across.
Con Kolivas 3bc05834 2012-01-28T11:19:28 Iterate and change virtual device order instead of shuffling ram.
Con Kolivas 371e5f68 2012-01-28T09:22:33 Reorder displayed devices to map to physical locations and initialise according to logical location instead.
Con Kolivas 5a0b4f62 2012-01-28T01:56:12 Map GPU devices to virtual devices in their true physical order based on BusNumber.
Con Kolivas 5869382d 2012-01-26T23:56:51 Change the warning that comes with failure to init cl on a device to be more generic and accurate.
Luke Dashjr fe88648e 2012-01-24T18:10:38 Advertise longpoll support in X-Mining-Extensions
Con Kolivas 06fd9c4a 2012-01-26T23:27:10 Detect dual GPU cards by iterating through all GPUs, finding ones without fanspeed and matching twins with fanspeed one bus ID apart.
Con Kolivas 1334e17c 2012-01-26T02:08:16 Merge pull request #96 from kanoi/master Move intensity range values into miner.h
Con Kolivas 32910463 2012-01-26T20:53:35 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.
Con Kolivas d18d5564 2012-01-26T20:39:35 Do not attempt to build the program that becomes the kernel twice. This could have been leading to failures on initialising cl.
Con Kolivas c87460b3 2012-01-26T19:42:57 Typo.
Con Kolivas 2ecabd85 2012-01-26T19:38:15 Some opencl compilers have issues with no spaces after -D in the compiler options.
Kano 5e9676c2 2012-01-26T16:03:26 Allow dynamic to adjust up to MAX_INTENSITY
Kano 487327f8 2012-01-26T14:06:31 Remove compile warning
Kano 63e31b4d 2012-01-26T14:00:52 Move intensity range values into miner.h
Con Kolivas a992b5d8 2012-01-26T13:18:57 Allow intensity up to 14 for multiple devices as well.
Con Kolivas d662c9c6 2012-01-26T13:12:56 Allow intensity up to 14.
Con Kolivas 77e9b1c2 2012-01-26T13:06:39 Use calloced stack memory for CompilerOptions to ensure sprintf writes to the beginning of the char.
Con Kolivas d7aac254 2012-01-26T11:44:42 Whitelist 79x0 cards to prefer no vectors as they perform better without.
ckolivas 4995b7c2 2012-01-25T16:34:39 On dual GPUs, only autotune the shared fan once per gpu autotune cycle.
ckolivas c009c6cd 2012-01-25T16:16:28 Don't try to explicitly drift to exactly the target temperature, aim for just below it.
ckolivas 312724ce 2012-01-25T15:48:28 Adjust fan speed gently while in the optimal range when temperature is drifting to minimise overshoot in either direction.
Con Kolivas 9549dacf 2012-01-25T01:19:58 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.
Con Kolivas d485261e 2012-01-24T20:26:33 Fix broken non-win32 build with bitforce enabled.
Con Kolivas 3d4cfce8 2012-01-24T20:23:44 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.
Con Kolivas 91f8901d 2012-01-23T22:54:38 Merge pull request #92 from luke-jr/bitforce_win32 BitForce Windows support
Luke Dashjr 4ae7baf0 2012-01-24T01:23:31 BitForce: Need to use CreateFile and low-level (descriptor-based) C APIs on Windows, since fopen doesn't work with serial ports
Con Kolivas 22a1850c 2012-01-23T03:26:24 Merge pull request #90 from p2k/master Fixed API compiling issue on OS X
p2k c89ef810 2012-01-23T12:25:16 Fixed API compiling issue on OS X
Con Kolivas 7ac4b780 2012-01-22T21:56:51 Merge pull request #89 from kanoi/master Return an error if using ADL API commands when it's not available
Kano 2e16d5e5 2012-01-23T15:32:48 Add more explanation of JSON format and the 'save' command
Kano a1cd9def 2012-01-23T15:25:59 Return an error if using ADL API commands when it's not available
Con Kolivas 990bb4a9 2012-01-23T10:54:21 Set iSize for thermal device enum first.
Con Kolivas 2d29cdb6 2012-01-23T09:25:53 Read off lpThermalControllerInfo from each ADL device.
Con Kolivas 1e1519e9 2012-01-23T09:20:21 Add ADL_Overdrive5_ThermalDevices_Enum interface.
Con Kolivas 91554b93 2012-01-22T20:38:18 Update NEWS.