thodg/cgminer/miner.h

Branch :


Log

Author Commit Date CI Message
0a80d4b0 2011-07-05 22:04:54 Display the output as a refreshing line and only push continuous log to stderr if desired.
cb13e2cf 2011-07-05 19:47:03 Make it possible to build without opencl for cpu mining only.
ec831917 2011-06-25 04:43:37 Build on windows using mingw32.
9950aa39 2011-07-04 00:05:12 Fix 32 bit builds.
5007805d 2011-07-03 19:10:59 Update CPU reentrant scan code to work properly for extended periods up to scantime and adjust rate properly. Simplify locking in hashmeter since it's called relatively infrequently anyway. Set gpuminer hashmeter interval update to log interval / 5 as well.
08a78210 2011-06-29 10:12:00 Make the log show what the thread is: cpu or gpu and what number.
f490143a 2011-06-29 09:22:21 Add local thread count to info, store hw error count, and make share submission debug only.
6374e0fa 2011-06-28 21:11:04 Import the phatk kernel. Enable it only for hardware with amd media ops for now since it crashes nvidia et. al. Fallback to the poclbm kernel for the rest. Try harder to avoid stale blocks around longpoll detecting new blocks.
a45c54aa 2011-06-27 11:31:05 Make postcalc_hash asynchronous as well.
dde70397 2011-06-14 10:32:54 Merge gpumining from oclmine. Unstable.
262b98ca 2011-06-09 11:45:06 Linux + x86_64 optimisations. Add likely() macro. Optimise a few obvious code paths with likely/unlikely. Change algo to sse2_amd64 by default. Move priority change to worker threads only. Detect number of CPUs and set default number of threads == CPUs. Add scheduling policy change to worker threads to SCHED_IDLE first and fallback to SCHED_BATCH on linux. Don't error when failing to set priority. Add CPU affinity and bind worker threads to CPUs when number of threads is a multiple of number of CPUs. Update NEWS with changes.
180b99f2 2011-05-11 04:41:11 OSX Support Derived from xorg source http://cgit.freedesktop.org/xorg/xserver/tree/GL/glx/glxbyteorder.h?id=cdf6b15f039c4905d8d54152153b0a3ecd7aba55;id2=415e49b940bba2d08870db410ebb47d2add5d836
2fd9d544 2011-03-21 04:02:13 Convert remaining [f]print to applog(). Also, remove a few superfluous printouts.
23e9cf91 2011-03-20 22:44:25 Ensure cpuminer-config.h is universally included, in *.c and *.h alike. In miner.h, this fixes an alloca-definition-related warning. For the other files, this is simply future-proofing/precaution.
24afd617 2011-03-18 17:24:16 Introduce more standardized logging (incl. optional syslog). Also, improve portability of alloca.
7a87bee9 2011-03-18 02:53:13 Add long polling support
33e5b549 2011-03-17 23:19:43 miner.h: pad out work_restart to max likely cache line size
2d49a9a5 2011-03-17 22:02:28 Introduce ability to interrupt hash scanners in the middle of scanning.
0258fae4 2011-03-14 23:36:28 Fix Windows build, that broke with yasm integration
4f7a51e9 2011-03-14 23:17:34 Move all RPC I/O to separate thread.
6b19b15a 2011-03-07 00:23:12 Fix warnings in sse2_64 implementation.
96d2287c 2011-03-05 22:22:57 X86_64 SSE2 support for Linux
1083e15c 2011-02-17 01:22:55 Mark hash success as unlikely, using __builtin_expect() intrinsic
9f3472ad 2011-02-10 00:52:22 Use bswap_32 from byteswap.h, if __builtin_bswap() is not available
c0935a94 2011-02-10 00:41:44 Re-use CURL object, thereby caching DNS and HTTP connections where possible.
714c0fd7 2011-02-03 00:46:55 Continue scanhash, even if high 32 bits are zero. Previously, we would stop the scan if the high 32 bits of the hash were zero, as a quick shortcut for testing the full hash. If this quick test succeeded, we would pass the work to the server for full validation. Change this logic to perform full validation inside minerd, so that work may be resumed more quickly if hash > target.
c68ffb30 2011-02-02 18:47:04 Display proof-of-work hash when one is discovered
0b677407 2011-01-29 00:56:24 Pass max-nonce as arg to each sha256 algo. Should be an equivalent transformation, with no behavior changes.
a2967993 2011-01-29 00:41:27 Replace ___constant_swab32() with gcc's __builtin_bswap32 http://www.bitcoin.org/smf/index.php?topic=1925.msg34827#msg34827 Credit: lfm
970e74c0 2010-12-26 23:37:58 Move 32-bit swap code into miner.h, for sharing.
d88648dd 2010-12-23 20:21:00 sha256_via: ensure that found nonce is copied back into output data buffer Also, some minor cleanups, removing unused args.
f1fcd76b 2010-12-06 20:14:58 sha256_cryptopp: Add crypto++ 32-bit assembly implementation
74bb1962 2010-11-28 20:16:22 Add Crypto++ sha256 implementation (C only, ASM elided for now)
339ddf4d 2010-11-27 04:31:32 Move sha256_generic into its own .o build output. Const-ify midstate param.
4da2e4fb 2010-11-27 01:59:03 miner.h: include sys/time.h for struct timeval definition
e2eeaaf7 2010-11-27 01:29:56 Add experimental (read: probably broken) VIA padlock support.
86eb37d6 2010-11-27 00:46:59 Improve and modularize compile-time CPU detection. Ideally, we should move this to autoconf.
35ea649d 2010-11-26 23:12:24 Improve hash performance statistics.
c6391499 2010-11-26 19:04:48 Add tcatm's 4way SSE2 sha256 implementation.
b7cc9b68 2010-11-26 15:46:11 Replace argp with getopt_long
945be82e 2010-11-25 04:03:59 Move utility routines to util.c.