miner.h


Log

Author Commit Date CI Message
Vitalii Demianets 53570ae8 2013-10-02T03:49:47 KnC driver: knc-spi-fpga ASIC driver This driver talks to KnCMiner controller via SPI Protocol specification is available at https://github.com/KnCMiner/jupiter-hw-docs/blob/master/fpga_spi.md
Henrik Nordstrom 1e51336f 2013-06-09T16:35:02 Silence warning if MAX/MIN is already defined
Con Kolivas f9d3d008 2013-10-25T20:11:24 Merge pull request #509 from roybadami/master Improvements to support for BitBurner boards
Con Kolivas 316e6d61 2013-10-25T14:29:43 Put an entry into the work struct telling drivers how much they can roll the ntime themselves.
Con Kolivas d342bcbe 2013-10-25T11:56:32 Provide a mechanism for informing drivers of updated work templates for stratum and gbt mining.
Con Kolivas d2719e31 2013-10-23T20:38:15 Implement a cglock_destroy function.
Con Kolivas de4ad515 2013-10-23T20:37:10 Implement a rwlock_destroy function.
Con Kolivas 6bd5139c 2013-10-23T20:34:50 Implement a mutex_destroy function.
Roy Badami c69a130d 2013-10-19T18:42:20 Improvements to support for BitBurner boards --bitburner-fury-options allows avalon-options to be overridden for BitBurner Fury Boards, facilitating simultanous use of BitBurner XX and BitBurner Fury boards More sensible defaults for BitBurner boards, so cgminer should do something sensible without any command line args
ckolivas 680f014c 2013-10-18T14:58:33 Simplify queued hashtable by storing unqueued work separately in a single pointer.
Kano c9adb192 2013-10-18T00:54:37 allow __work_complete() access
Kano 3fc7ff45 2013-10-16T01:54:54 miner.h allow devices to tv_stamp work
Kano 514b3c42 2013-10-17T19:45:20 API add 'MHS %ds' to 'summary'
Kano d3d3fc13 2013-10-17T16:14:45 Optional lock tracking and stats via the API
Kano 55e233d5 2013-10-17T19:45:20 API add 'MHS %ds' to 'summary'
Kano c2073f09 2013-10-17T16:14:45 Optional lock tracking and stats via the API
Kano ecacb24a 2013-10-16T01:54:54 miner.h allow devices to tv_stamp work
Con Kolivas d3c215fd 2013-10-12T09:53:21 Provide a lower level __bin2hex function that does not allocate memory itself.
Con Kolivas 835ad824 2013-10-12T09:32:07 Convert the bitfury driver to use the hash_driver_work version of hash_work.
Con Kolivas 58008a37 2013-10-12T09:05:58 Add a hash_driver_work function to allow for drivers that wish to do their own work queueing and management.
Con Kolivas b5379760 2013-10-11T23:06:40 Make pthread conditional timeouts handle all bulk usb transfer timeouts performing libusb_cancel_transfer, disabling timeouts within libusb itself.
Con Kolivas ef8efd6c 2013-10-08T00:01:26 Minimise the time between dropping the read devlock and grabbing the write devlock to avoid tons of logging spam in the interim.
Con Kolivas 7318ecee 2013-10-07T23:34:01 Make the devlock a cglock in usbutils and only grab the write lock for fundamental changes allowing us to send and receive transfers concurrently without lock contention.
Con Kolivas 8c0ea19e 2013-10-05T09:31:36 Submitting an ntime offset nonce needs to be done on a copy of the work instead of the original so abstract out shared components as much as possible, minimising strdups in copy_work and make submit_work_async work take copied work, cleaning up code in the process.
Con Kolivas b6a97de6 2013-10-04T21:39:42 Provide a way for drivers to submit work that it has internally rolled the ntime value by returning the amount it has ntime rolled to be added.
ckolivas 6cd7f0f1 2013-10-04T12:00:41 Remove unmaintained broken ztex driver.
Kano 51418f79 2013-10-03T23:19:18 Klondike update code to current git
Con Kolivas 585d4af4 2013-10-07T23:32:01 Store statistics on how often we have to cancel async bulk transfers and add a debug message whenever we do.
Con Kolivas 023ca6a1 2013-10-07T17:17:20 Remove devlock lock contention statistics since transfers are all done under read lock now.
Con Kolivas 59ff31d8 2013-10-07T17:11:33 Make the devlock a cglock in usbutils and only grab the write lock for fundamental changes allowing us to send and receive transfers concurrently without lock contention.
Con Kolivas 3b266594 2013-10-07T14:57:08 Merge branch 'master' into libusbx Conflicts: api.c miner.h usbutils.c
Con Kolivas dbef95f7 2013-10-05T09:31:36 Submitting an ntime offset nonce needs to be done on a copy of the work instead of the original so abstract out shared components as much as possible, minimising strdups in copy_work and make submit_work_async work take copied work, cleaning up code in the process.
Con Kolivas 4c79252d 2013-10-04T21:39:42 Provide a way for drivers to submit work that it has internally rolled the ntime value by returning the amount it has ntime rolled to be added.
ckolivas 052e4348 2013-10-04T12:00:41 Remove unmaintained broken ztex driver.
Kano dc85abd9 2013-10-03T23:19:18 Klondike update code to current git
Con Kolivas bfdf3af1 2013-10-03T12:05:48 Store statistics on how often we have to cancel async bulk transfers and add a debug message whenever we do.
Con Kolivas 3eece618 2013-09-30T21:50:06 Get statistics on how long usb reads and writes wait on the devlock.
Con Kolivas b3ceb7e2 2013-09-30T21:50:06 Get statistics on how long usb reads and writes wait on the devlock.
Con Kolivas 01e3c878 2013-09-29T15:16:25 We should only yield once in cg_wunlock
Con Kolivas 5683a114 2013-09-29T15:14:06 Provide a function to downgrade a cglock from a write lock to an intermediate variant.
Con Kolivas 5e1ebd50 2013-09-29T13:54:16 Deuglify use of _PARSE_COMMANDS macro expansions.
Con Kolivas 1ef38f82 2013-09-29T12:28:43 Separate out asic fpga and opencl drivers in the driver parse commands macro for use individually as needed.
ckolivas fbf46c41 2013-09-28T15:14:28 Put avalon last in the sequence of adding drivers to prevent it trying to claim similar chip devices on startup.
ckolivas 6d747123 2013-09-28T15:11:06 Use macro expansion to iterate over all device drivers without needing to explicitly code in support in all places. Pass a hotplug bool to the detect() function to prevent opencl trying to hogplug GPUs.
ckolivas 741b7430 2013-09-28T14:00:18 Forward declare all device drivers in miner.h avoiding the need to export them everywhere else.
ckolivas 2903028e 2013-09-28T11:45:58 Use macro expansion to generate extern device_drv prototypes.
ckolivas 88751974 2013-09-28T10:25:48 Create a macro list of drivers to enable easier addition of further drivers.
Con Kolivas b606a603 2013-09-26T21:20:59 Use submit_tested_work in bitfury driver to avoid unnecessarily re-testing the work for validity.
Con Kolivas 76e688ae 2013-09-26T21:14:14 Store the hash2 array in struct work for further reuse.
Con Kolivas 39c52b1f 2013-09-26T20:58:47 Use the test_nonce function within submit_nonce and store the uint32 corresponding to hash2 37 for further use.
Con Kolivas 759e82bb 2013-09-25T15:30:54 Add in first draft for a serialised work model sending/receiving data for BF1 devices.
Con Kolivas 68a7e210 2013-09-24T20:59:10 Create basic placeholders for bitfury driver code.
Con Kolivas 466d3bec 2013-09-21T22:49:28 Provide a --disable-libcurl config option to build support for stratum mining only.
Con Kolivas a76b09e4 2013-09-13T13:51:15 Find the greatest common denominator in quotas and use the smallest number of consecutive work items per pool in quota load balance mode to smooth hashrate across pools with large quotas. Give excess quota to priority pool 0 instead of pool 0.
Con Kolivas 7c19984f 2013-09-07T12:12:24 Use quotas for load-balance pool strategy.
Con Kolivas 0121b75a 2013-09-07T11:33:07 Provide a mechanism for setting a pool quota to be used by load-balance.
Con Kolivas b783d94c 2013-09-05T23:14:53 Extract any proxy url and port to be used by sockaddr if possible using extract_sockaddr.
Kano 76185ede 2013-09-01T00:23:26 API mcast add a description option with miner.php
ckolivas 0f42fd3f 2013-08-29T11:10:13 Remove unused HAVE_LISBUSB macro and use USE_USBUTILS everywhere.
Con Kolivas 572df102 2013-08-27T20:29:47 Provide a funcion that looks up queued work by midstate and then removes it from the device hash database.
Kano 14ac6fa5 2013-08-22T09:27:49 Initial API Multicast response v0.1 to find cgminer APIs
Con Kolivas 8a01f532 2013-08-21T20:46:07 Add avalon HW error% to stats and only show BTB variables if avalon is a BTB.
ckolivas b12badc9 2013-08-21T10:47:32 Thread reportin and out can be static non inline.
Con Kolivas a61e41a0 2013-08-19T15:58:22 Check for thr->work_restart in restart_wait.
Con Kolivas 98e338cc 2013-08-14T22:59:57 Provide a variant of find_work_bymidstate that returns a clone of the found work.
Kano 6b62c402 2013-08-14T10:42:52 API/miner.php add some % fields
Con Kolivas c8aac741 2013-08-13T06:09:42 Only perform the bin2hex on nonce2 data if it's required for stratum submission, thereby removing the last conversion of that type from stratum work generation.
Con Kolivas 87ae66c7 2013-08-13T05:49:32 Create a work data template when receiving stratum notification, allowing a simple memcpy of the merkle root avoiding more hex2bin conversions on each work generation.
Con Kolivas 34bc106d 2013-08-13T04:57:04 Export the workpadding char in miner.h
Con Kolivas 11bcf2b3 2013-08-12T11:40:17 Rename work gbt_coinbase to coinbase to be in line with pool variable name.
Con Kolivas 5237bf35 2013-08-12T11:36:28 Perform merkle bin hex2bin on stratum notify to avoid doing it on each work generation.
Con Kolivas 8bc469e9 2013-08-12T11:16:46 Reuse just the one pool coinbase variable in stratum, avoiding more string functions and storage in gen_stratum_work on each work generation.
Con Kolivas 8c8ef6ff 2013-08-12T10:58:43 Rename pool gbt_coinbase variable to coinbase to combine it with the stratum coinbase data.
Con Kolivas c542e47a 2013-08-12T10:49:38 Use a nonce2 offset variable for both gbt and stratum to consolidate requirements on work generation.
Kano 309cb224 2013-08-12T08:54:11 miner.h inline semaphores increase information on failure
Con Kolivas fb94dfa0 2013-08-12T01:15:22 Cache as much of the gbt coinbase as possible to avoid doing unnecessary hex2bin conversion on every work generation with gbt.
Con Kolivas 9552f54f 2013-08-12T00:11:49 Add the ability to downgrade a write variant of the cglocks.
Con Kolivas 3e84a19c 2013-08-11T15:10:27 Fix --scrypt being required before scrypt intensities on command line or not working at all via config files.
Con Kolivas b423fe9d 2013-08-11T14:06:17 Cache the hex2bin of pool nonce1 in stratum, avoiding hex2bin on each work generation.
Con Kolivas fef649df 2013-08-11T13:47:46 Cache the binary generation of coinbase1 and 2 on stratum, avoiding a hex2bin of coinbase1 and 2 on each work generation.
Con Kolivas 2b171f7f 2013-08-09T15:12:57 Limit intensity range according to whether scrypt is in use or not.
Kano ad1572f7 2013-07-06T20:17:17 size check get_datestamp/get_timestamp and remove unused cgpu->init
Kano 385a70be 2013-07-06T19:15:59 make all statline overflow safe
Con Kolivas 563feac7 2013-06-15T20:15:00 Merge pull request #446 from kanoi/master Rework logging to mostly avoid using varargs
Kano 7eba9634 2013-06-15T22:03:56 remove varargs from logging/quit/in general as much as possible
ckolivas b8a203ab 2013-06-15T21:33:12 Don't yield when downgrading a cg ilock.
Con Kolivas 736dfb40 2013-06-15T12:35:16 Don't yield on grabbing the read lock variant of cglocks.
Con Kolivas cd9ff7f6 2013-06-15T01:28:00 Only display as many device rows as the maximum live existed at any time.
Kano 7ad9132b 2013-06-15T01:02:27 usb lock out use cg locks
Kano ad30d41f 2013-06-14T23:48:03 usb lock out transfers during open/close
Kano 84ffcbc5 2013-06-14T01:09:50 Use mining start time for device MH/U calculations
Con Kolivas 0aeb1b54 2013-06-13T13:28:48 Yield after releasing a lock in case we are on a device with limited CPU resources.
ckolivas 065d4aab 2013-06-09T13:29:38 Fix build.
ckolivas 9b2e517f 2013-06-09T12:20:04 Use cgsem structures instead of the flaky pings in the work queue to start mining threads and remove the unused thr_info_freeze function.
ckolivas b59c3380 2013-06-06T13:08:00 Implement cgminer specific cgsem semaphores to imitate unnamed semaphore behaviour on osx which does not support them.
ckolivas 05123bf4 2013-06-05T15:50:30 Temporarily fix apple not having semtimedop by ignoring the timeout value.
Con Kolivas 727184d6 2013-06-03T11:09:36 Change the --device parameter parsing and configuration to use ranges and comma separated values.
Con Kolivas cc04d3ab 2013-05-30T11:01:29 Use a counting semaphore to signal the usb resource thread that it has work to do.
Con Kolivas 876e7e58 2013-05-29T00:01:54 Merge branch 'icarus-dev' into usbdev Conflicts: usbutils.h
Con Kolivas 6972ec62 2013-05-28T23:33:32 Execute driver shutdown sequence during kill_work.