elbandi
7f7557b59b
Fix VERSION redefine warnings
2016-04-01 01:40:55 +02:00
elbandi
7cee9c6660
Move precalc_hash to algorithm settings
2016-02-12 22:28:56 +01:00
elbandi
031e4b78cb
Add blake256 algos support
2016-02-12 22:28:56 +01:00
elbandi
580676affb
Get some algos from 'master' of https://github.com/djm34/sgminer
2015-11-10 21:17:40 +01:00
troky
8d68e96934
Added Lyra2RE algo
2015-03-10 09:47:46 +01:00
ystarnaud
4ba8a68043
Merged develop branch with master +updates
...
Moved the develop code to master. Moving forward all updates will be
done on master unless it's work on a major feature.
This update contains all previous develop code as well as a few new ones
that weren't pushed yet:
* Added neoscrypt compatibility for xintensity/rawintensity
* Neoscrypt now uses correct TC if not specified or set to 0
* Reworked the application of pool settings on algorithm switch which
should resolve TC/Intensity changes between algos such as X11 and
neoscrypt
2014-12-03 10:09:55 -05:00
Jan Berdajs
25d7d426fd
convert tabs to spaces in most commonly modified files
2014-06-09 17:45:06 +02:00
Jan Berdajs
e5779e1e26
move algorithms into separate folder
2014-06-08 03:26:42 +02:00
Jan Berdajs
e4a4efdb42
fix some potential memory leaks, remove a few old unused functions
2014-06-05 00:13:43 +02:00
Jan Berdajs
9d9f5b7586
Add MaxCoin support
2014-05-27 01:12:30 +02:00
Sanjin Trošelj
db352941b2
VS2010 build: Prepare findnonce.c
...
Cherry-picked by veox.
2014-01-28 00:13:56 +02:00
Noel Maersk
199cb10e18
HAVE_OPENCL is mandatory, remove checks form code an build system.
2013-12-05 20:49:18 +02:00
Noel Maersk
95586f72f0
Squash-merge branch dead-end with unnecessary check removals.
2013-11-24 16:18:10 +02:00
Noel Maersk
37cd3fb04c
Get rid of several opt_scrypt checks.
...
--scrypt will eventually become a default, and is the only reason to use this
version of cgminer.
2013-11-24 15:28:53 +02:00
Con Kolivas
b196d4fa0c
Support more shares to be returned for scrypt mining.
2013-05-11 16:19:02 +10:00
Con Kolivas
c1ff90a7ab
Do testing for HW errors on submit nonce for both scrypt and sha.
2013-04-18 15:07:32 +10:00
Con Kolivas
6b714dd431
Increment hardware error count from the one site.
2013-04-18 14:47:46 +10:00
Con Kolivas
5412323e26
Fix memory leak with share submission on GPU work structures as discovered by twobitcoins.
2013-03-09 15:12:41 +11:00
Kano
a344deb6ac
rename device_api -> device_drv and all related api -> drv and add a device_drv->drv enum for identifying which driver each is
2013-02-02 20:14:19 +11:00
Con Kolivas
c99636f21b
Begin tearing down the old workio command queues by removing submit commands from there and submit them asynchronously via their own threads.
2012-12-07 13:21:46 +11:00
Con Kolivas
8bd8696854
The work struct pointer in struct pc_data in findnonce is never freed yet there is no need to allocate it separately so make struct work a static part of the struct pc_data.
...
s
2012-10-26 23:30:49 +11:00
Con Kolivas
2b6e3676cd
Count an invalid nonce count as a hardware error on opencl.
2012-10-08 22:10:15 +11:00
Con Kolivas
2ff1610307
Prevent corrupt values returned from the opencl code from trying to read beyond the end of the buffer by masking the value to a max of 15.
2012-10-06 14:58:26 +10:00
Kano
307d8da034
HW: error counter auto for all devices - ztex code not fixed
2012-09-04 15:57:11 +10:00
Con Kolivas
86d5377e72
Use atomic ops to never miss a nonce on opencl kernels, including nonce==0, also allowing us to make the output buffer smaller.
2012-08-23 10:48:15 +10:00
Con Kolivas
e49bd98196
Use the scrypt CPU code to confirm results from OCL code, and mark failures as HW errors, making it easier to tune scrypt parameters.
2012-08-07 19:56:43 +10:00
Con Kolivas
b9e5f8e550
Revert "Use cpu scrypt code to check if an scrypt share is below target before submitting it."
...
This reverts commit 808f403a14
.
Conflicts:
findnonce.c
2012-07-21 10:28:41 +10:00
Con Kolivas
d9eba43a42
Fix build.
2012-07-20 23:49:43 +10:00
Con Kolivas
808f403a14
Use cpu scrypt code to check if an scrypt share is below target before submitting it.
2012-07-20 23:44:43 +10:00
Con Kolivas
d72add9af3
Send correct values to scrypt kernel to get it finally working.
2012-07-20 16:16:18 +10:00
Con Kolivas
6ac14f4280
Don't enqueuewrite buffer at all for pad8 and pass work details around for scrypt in dev_blk.
2012-07-16 13:14:21 +10:00
Con Kolivas
ea444d0239
Fix nonce submission code for scrypt.
2012-07-14 00:59:38 +10:00
Con Kolivas
8fd3bf74df
Build fix for opt scrypt.
2012-07-13 20:40:37 +10:00
Con Kolivas
1aacfe5279
Don't check postcalc nonce with sha256 in scrypt.
2012-07-13 20:38:26 +10:00
Con Kolivas
b085c338f6
Make scrypt buffers and midstate compatible with cgminer.
2012-07-13 20:28:36 +10:00
Con Kolivas
8f08a775ad
Use any() in kernel output code and revert breakage of diakgcn kernel.
2012-02-22 14:11:19 +11:00
Con Kolivas
d1cddf8bad
Update licensing to GPL V3.
2012-02-21 22:23:07 +11:00
Con Kolivas
810ad04578
More copyright updates.
2012-02-18 23:16:08 +11:00
Con Kolivas
83dde50f9d
Updates to diakgcn kernel courtesy of Philip Kaufmann <phil.kaufmann@t-online.de>
2012-02-18 15:17:50 +11:00
zefir
713e8be629
move CPU chipset specific optimization into device-cpu
2012-02-11 20:25:41 +01:00
Con Kolivas
52bb99c3ea
Fix double definition of A0 B0 to zeroA zeroB.
2012-02-11 21:42:02 +11:00
Con Kolivas
405a2120f8
Remove unnecessary check for opt_debug on every invocation of applog at LOG_DEBUG and place the check in applog().
2012-02-11 20:11:18 +11:00
Philip Kaufmann
c91155ac55
made code a bit more consistent and removed 2 unneeded brackets
2012-02-11 11:48:11 +11:00
ckolivas
85e9a841d5
Use K array explicitly to make it clear what is being added.
2012-02-11 11:48:11 +11:00
ckolivas
033913ca8e
First working port of the diakgcn kernel.
2012-02-11 11:48:11 +11:00
Con Kolivas
8171ceab85
Simplify submit_nonce loop and avoid potentially missing FOUND - 1 entry. Reported by Luke-Jr.
2012-01-15 21:39:49 +11:00
Con Kolivas
a51514d9d1
White space cleanup.
2011-12-27 10:30:04 +11:00
Con Kolivas
4d13f8ad3c
ByteReverse is not used and the bswap opcode breaks big endian builds. Remove it.
2011-09-07 09:02:28 +10:00
Con Kolivas
cf54f9b850
Move to 256 sized buffers and don't risk overwrite by using only 127 mask.
2011-08-17 16:07:15 +10:00
Con Kolivas
0f782ba6bd
Update poclbm kernel to FF sized mask and only check that range.
2011-08-17 15:47:18 +10:00