Log

Author Commit Date CI Message
Con Kolivas 43752ee5 2012-07-26T16:12:45 Limit thread concurrency for scrypt to 5xshaders if shaders is specified.
Con Kolivas da1b996a 2012-07-26T16:10:21 Simplify repeated use of gpus[gpu]. in ocl.c
Con Kolivas 5148502c 2012-07-25T22:30:37 Reinstate help information for lookup gap and thread concurrency since tc will often need to be manually set for optimal scrypt performance.
Con Kolivas ea10b08d 2012-07-25T22:02:14 Find the nearest power of 2 maximum alloc size for the scrypt buffer that can successfully be allocated and is large enough to accomodate the thread concurrency chosen, thus mapping it to an intensity.
Con Kolivas bff58c3b 2012-07-24T20:55:34 Add back in new cl files.
Con Kolivas 5e756d3f 2012-07-24T20:53:05 Don't make opt_scrypt mandatory blocking with opencl code.
Con Kolivas b3a41e40 2012-07-24T20:33:04 Update kernel versions reflecting changes in the API.
Con Kolivas aca34d0a 2012-07-24T20:28:52 Merge branch 'master' into newscrypt
Con Kolivas 9a6c082a 2012-07-24T20:27:37 Make the thread concurrency and lookup gap options hidden on the command line and autotune parameters with a newly parsed --shaders option.
Con Kolivas 458fbeb5 2012-07-24T02:48:23 Merge pull request #273 from kanoi/bfl BFL force all code to timeout to avoid hanging
Con Kolivas f98774c3 2012-07-24T17:52:54 Fix target testing with scrypt kernel as it would have been missing shares below target.
Kano c5583050 2012-07-24T02:19:23 BFL force all code to timeout to avoid hanging
Con Kolivas 3a0d60cf 2012-07-23T21:30:30 Always create the largest possible padbuffer for scrypt kernels even if not needed for thread_concurrency, giving us some headroom for intensity levels.
Con Kolivas d8f81c18 2012-07-23T17:51:57 Use the detected maximum allocable memory on a GPU to determine the optimal scrypt settings when lookup_gap and thread_concurrency parameters are not given.
Con Kolivas 89eb1fa3 2012-07-23T17:41:31 Check the maximum allocable memory size per opencl device.
Con Kolivas 5087ff90 2012-07-23T16:37:13 Add debugging output if buffer allocation fails for scrypt and round up bufsize to a multiple of 256.
Con Kolivas 94c94d65 2012-07-23T07:38:58 Nonce testing for btc got screwed up, leading to no accepted shares. Fix it.
Con Kolivas 1711b4eb 2012-07-22T00:58:09 Display size of scrypt buffer used in debug.
Con Kolivas 17dfe74f 2012-07-22T00:49:47 Allow intensities up to 20 if scrypt is compiled in.
Con Kolivas c21e15a0 2012-07-21T17:37:23 Add name to scrypt kernel copyright.
Con Kolivas 39f7d2fa 2012-07-21T17:31:06 Allow lookup gap and thread concurrency to be passed per device and store details in kernel binary filename.
Con Kolivas ffe1318f 2012-07-21T16:05:50 Ignore negative intensities for scrypt.
Con Kolivas 04f55a0e 2012-07-21T13:56:54 Change the scale of intensity for scrypt kernel and fix a build warning.
Con Kolivas e45ebb62 2012-07-21T13:30:32 Correct target value passed to scrypt kernel.
Con Kolivas 1b5c676d 2012-07-21T11:00:36 Use 256 output slots for kernels to allow 1 for each worksize.
Con Kolivas b9e5f8e5 2012-07-21T10:28:41 Revert "Use cpu scrypt code to check if an scrypt share is below target before submitting it." This reverts commit 808f403a14267263066b0c257c262a1be6ef47ca. Conflicts: findnonce.c
Con Kolivas a22edd2a 2012-07-21T10:25:33 Test the target in the actual scrypt kernel itself saving further calculations.
Con Kolivas 7d53fba1 2012-07-21T02:49:50 Reinstate GPU only opencl device detection.
Con Kolivas d13a3f1d 2012-07-21T02:47:27 Decrease lookup gap to 1. Does not seem to help in any way being 2.
Con Kolivas d9eba43a 2012-07-20T23:49:43 Fix build.
Con Kolivas 808f403a 2012-07-20T23:44:43 Use cpu scrypt code to check if an scrypt share is below target before submitting it.
Con Kolivas 537b28d5 2012-07-20T22:10:33 Make pad0 and pad1 local variable in scrypt kernel.
Con Kolivas 8dc0d6e4 2012-07-20T22:07:20 Constify input variable in scrypt kernel.
Con Kolivas d72add9a 2012-07-20T16:16:18 Send correct values to scrypt kernel to get it finally working.
Con Kolivas 3e61db10 2012-07-18T21:58:27 Create command queue before compiling program in opencl.
Con Kolivas e17ee1e8 2012-07-18T21:57:57 Revert "Use uint16 in SHA256 in scrypt kernel." This reverts commit 46592a24f4d91991f3302e0b39bfc10cfe01255a.
Con Kolivas dd254545 2012-07-16T22:03:43 Detach pthread from within the api thread in case it is terminated due to not being instantiated before pthread_cancel is called from main, leading to a segfault.
Con Kolivas 4abecc26 2012-07-16T22:03:43 Detach pthread from within the api thread in case it is terminated due to not being instantiated before pthread_cancel is called from main, leading to a segfault.
Con Kolivas 77b7ed4b 2012-07-16T20:25:16 Debug output per thread hashrate is out by a factor of 1000.
Con Kolivas 471daecb 2012-07-16T17:05:08 Initialise mdplatform.
Con Kolivas 07292f73 2012-07-16T17:05:08 Initialise mdplatform.
Con Kolivas ffd21f8d 2012-07-15T13:40:11 Find the gpu platform with the most devices and use that if no platform option is passed.
Con Kolivas f99ac0ca 2012-07-15T13:31:03 Allow more platforms to be probed if first does not return GPUs.
Con Kolivas 861f4329 2012-07-16T13:39:30 Fix external scrypt algo missing.
Con Kolivas 428d5e5d 2012-07-16T13:22:35 Limit scrypt to 1 vector.
Con Kolivas 76c37891 2012-07-16T13:19:42 Handle KL_SCRYPT in config write.
Con Kolivas 5cd4bbd2 2012-07-16T13:18:43 Get rid of stuff.
Con Kolivas 6ac14f42 2012-07-16T13:14:21 Don't enqueuewrite buffer at all for pad8 and pass work details around for scrypt in dev_blk.
Con Kolivas a9a0bba1 2012-07-16T11:53:18 Set the correct data for cldata and prepare for pad8 fixes.
Con Kolivas 3d1b4d63 2012-07-16T11:17:27 Revert "Use uint16 in SHA256_fresh in scrypt kernel." This reverts commit 6a02f8d94ae665859ee081c0741c7ec56ff7ba77.
Con Kolivas 04edf4bf 2012-07-15T13:40:56 Temporarily set opencl to use all devices to allow debugging of scrypt kernel rapidly.
Con Kolivas 53e9c61c 2012-07-15T13:40:11 Find the gpu platform with the most devices and use that if no platform option is passed.
Con Kolivas 884f83f3 2012-07-15T13:31:03 Allow more platforms to be probed if first does not return GPUs.
Con Kolivas 6a02f8d9 2012-07-15T13:28:56 Use uint16 in SHA256_fresh in scrypt kernel.
Con Kolivas cb5fed89 2012-07-15T13:23:52 Get rid of spaces in arrays in scrypt kernel.
Con Kolivas 46592a24 2012-07-15T13:20:13 Use uint16 in SHA256 in scrypt kernel.
Con Kolivas fdcaea1c 2012-07-14T22:37:32 Start with smaller amount of hashes in cpu mining to enable scrypt to return today sometime.
Con Kolivas 6c6c2852 2012-07-14T22:25:41 Show Khash hashrates when scrypt is in use.
Con Kolivas 54f1b808 2012-07-14T22:19:55 Free the scratchbuf memory allocated in scrypt and don't check if CPUs are sick since they can't be. Prepare for khash hash rates in display.
Con Kolivas a5ebb712 2012-07-14T22:01:20 Add cpumining capability for scrypt.
Con Kolivas 243d005b 2012-07-14T16:21:27 Set scrypt settings and buffer size in ocl.c code to be future modifiable.
Con Kolivas bd10764e 2012-07-14T11:07:15 Cope with when we cannot set intensity low enough to meet dynamic interval by inducing a forced sleep.
Con Kolivas 238db52a 2012-07-14T11:02:22 Make dynamic and scrypt opencl calls blocking.
Con Kolivas 41daf995 2012-07-14T09:45:55 Calculate midstate in separate function and remove likely/unlikely macros since they're dependent on pools, not code design.
Con Kolivas 8230ab05 2012-07-14T01:10:50 Display in debug mode when we're making the midstate locally.
Con Kolivas ea444d02 2012-07-14T00:59:38 Fix nonce submission code for scrypt.
Con Kolivas aabc7233 2012-07-14T00:30:25 Make sure goffset is set for scrypt and drop padbuffer8 to something manageable for now.
Con Kolivas e0296c41 2012-07-13T21:35:25 Set up buffer8 for scrypt.
Con Kolivas 8fd3bf74 2012-07-13T20:40:37 Build fix for opt scrypt.
Con Kolivas 1aacfe52 2012-07-13T20:38:26 Don't check postcalc nonce with sha256 in scrypt.
Con Kolivas 0f43eb5e 2012-07-13T20:35:44 Don't test nonce with sha and various fixes for scrypt.
Con Kolivas b085c338 2012-07-13T20:28:36 Make scrypt buffers and midstate compatible with cgminer.
Con Kolivas 2ed4072b 2012-07-13T19:18:11 Use cgminer specific output array entries in scrypt kernel.
Con Kolivas dd740caa 2012-07-13T19:02:43 Provide initial support for the scrypt kernel to compile with and mine scrypt with the --scrypt option.
Con Kolivas 5a65415b 2012-07-13T14:47:02 Enable completely compiling scrypt out.
Con Kolivas 176cdf8b 2012-07-13T14:44:52 Begin import of scrypt opencl kernel from reaper.
Con Kolivas b6a23d00 2012-07-13T11:39:34 bitforce_get_result returns -1 on error now.
Con Kolivas 761bd772 2012-07-12T18:12:00 Merge pull request #267 from luke-jr/bugfix_winsleep Fix Windows build
Con Kolivas d3b8b4d9 2012-07-12T18:11:39 Merge pull request #266 from luke-jr/api_select_life rpc: Use a single switch statement for both stringifications of cgpu->status
Con Kolivas aa723e71 2012-07-13T10:54:06 Check return value of read in BFgets
Luke Dashjr 68111323 2012-07-12T18:01:14 Bugfix: Make our Windows nanosleep/sleep replacements standards-compliant (which fixes nmsleep) and include compat.h for bitforce (for sleep)
Luke Dashjr a8547790 2012-07-12T17:05:25 rpc: Use a single switch statement for both stringifications of cgpu->status
Con Kolivas cdf325d7 2012-07-12T23:15:05 Merge branch 'master' of github.com:ckolivas/cgminer
Con Kolivas ac55cec6 2012-07-12T23:13:35 Fix whitespace mangling.
Con Kolivas c1c99f1d 2012-07-12T23:09:05 Merge https://github.com/pshep/cgminer into pshep
Con Kolivas 89e613b9 2012-07-12T21:29:30 Revert "Change BFL driver thread initialising to a constant 100ms delay between devices instead of a random arrangement." This reverts commit 0785886b53b2838e0c3634143ad883beb191f7c6.
Con Kolivas 94628b1d 2012-07-12T04:17:17 Merge pull request #265 from kanoi/minerphp miner.php fix rig # when miners fail
Kano 09bdf816 2012-07-12T17:41:30 miner.php fix rig # when miners fail
Con Kolivas cbef2a6a 2012-07-12T16:40:15 Only try to shut down work cleanly if we've successfully connected and started mining.
Con Kolivas 0ed757a0 2012-07-12T16:05:17 Use switch statement for cgpu->status and fix spelling.
Con Kolivas 31ddad67 2012-07-11T23:00:52 Merge pull request #263 from luke-jr/bugfix_nmsleep Bugfix: Calculate nsec in nmsleep correctly
Con Kolivas 96f3a988 2012-07-11T23:00:35 Merge pull request #264 from luke-jr/life_init Bugfix: Don't declare devices SICK if they're just busy initializing
Con Kolivas f168d969 2012-07-11T20:32:34 Merge pull request #262 from luke-jr/bugfix_ocl_err Bugfix: Adapt OpenCL scanhash errors to driver API change
Con Kolivas c16ff2e9 2012-07-11T20:30:08 Merge pull request #258 from zefir-k/master fix API support for big endian machines
Con Kolivas b3d8575c 2012-07-11T20:29:02 Merge pull request #260 from kanoi/minerphp miner.php allow rig names in number buttons
Paul Sheppard d4d5b28e 2012-07-11T14:46:09 Abbrv. correction
Luke Dashjr c57c308d 2012-07-11T20:29:06 Bugfix: Don't declare devices SICK if they're just busy initializing This mainly applies to ModMiner since it takes 4-5 minutes to upload the bitstream
Luke Dashjr 9c648c17 2012-07-11T20:10:52 Bugfix: Calculate nsec in nmsleep correctly The old algorithm (msecs * 1000000) - (sec / 1000000000) gets total nsec, including seconds, since the sec/1e9 should be multiplying. It's also vulnerable to easy overflows. Using ldiv gets the quotient and remainder in a single operation (at least on x86) and avoids overflow.
Luke Dashjr a3998e26 2012-07-11T19:43:55 Bugfix: Adapt OpenCL scanhash errors to driver API change (errors are now -1, not 0)
Paul Sheppard 5f0a22d2 2012-07-11T08:32:41 Remove superfluous ave_wait