1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-01 18:55:36 +00:00
Commit Graph

6362 Commits

Author SHA1 Message Date
troky
9414592539 Added pool name to API "pools" command 2014-03-20 20:54:52 +01:00
phm
a0c0975bb8 Merge branch 'animecoin'
Conflicts:
	Makefile.am
	configure.ac
	driver-opencl.c
	miner.h
	ocl.c
	sgminer.c
2014-03-20 18:36:28 +01:00
phm
35744a86c2 Merge branch 'inkcoin'
Conflicts:
	Makefile.am
	configure.ac
	driver-opencl.c
	miner.h
	ocl.c
	sgminer.c
2014-03-20 17:52:31 +01:00
Noel Maersk
04942b6a24 Merge pull request #155 from troky/master
VS2010 build: Removed kernel name definitions.
2014-03-20 03:12:29 +02:00
phm
535696aee8 Cleaned up source code. 2014-03-18 14:42:19 +01:00
troky
9e481ebb3d VS2010 build: Removed kernel name definitions. 2014-03-18 11:05:01 +01:00
Noel Maersk
ea9c54a378 misc: update NEWS.md.
Closes https://github.com/veox/sgminer/issues/43
2014-03-17 22:20:06 +02:00
Noel Maersk
41f994886e doc: update README.md doc list, rename KERNEL.md to kernel.md. 2014-03-17 22:14:13 +02:00
Noel Maersk
9b68b2773c doc: update doc/KERNEL.md to reflect the fact that kernel names are no longer hard-coded. 2014-03-17 22:06:11 +02:00
Noel Maersk
106dbee1f9 core: check if GPU thread is disabled before checking if it's waiting on getwork.
Otherwise the watchdog thread segfaults on checking an uninitialised
thr->getwork value.
2014-03-17 21:57:00 +02:00
Noel Maersk
e0736b1d5b misc: suggest checking configuration in log message. 2014-03-17 21:57:00 +02:00
Noel Maersk
98cd96f27a opencl: add log notice, change another to notice level, shorten comment. 2014-03-17 21:57:00 +02:00
Noel Maersk
0adf597640 build: remove kernel name definitions from configure.ac. 2014-03-17 21:57:00 +02:00
Noel Maersk
87801c2578 opencl: rename cgpu_info->kname to cgpu_info->kernelname. 2014-03-17 21:57:00 +02:00
Noel Maersk
4ea508850e opencl: rename queue_scrypt_kernel() to queue_kernel().
There are no other kernels, and differentiating kernels in the future
should be done in a universal way, preferably not by choosing a function.

Note how queue_kernel() is used (passed as function reference).
2014-03-17 21:57:00 +02:00
Noel Maersk
3787f47155 misc: add comment on what cgpu_info->{,k}name are. 2014-03-17 21:57:00 +02:00
Noel Maersk
c9ccf551d7 opencl: remove cl_kernels structure definition and mention.
No longer used.

TODO: check if clState would benefit from having kernel name.
2014-03-17 21:57:00 +02:00
Noel Maersk
1333ed576d core: simplify kernel selection code.
WIP!

Use a string instead of a state-machine-ey kernel selection mechanism
where kernel names have to be predefined. This should allow just dropping
new kernels into dir `kernel` without bloating the code in three other
places.

Is in dire need of a cleanup, function parameter check, edge case check -
all the usual testing.

In particular, checking these definitions/keywords:

* enum cl_kernels
* kname
* [c]gpu[s]->kernel (and similar)
* memory cleanup after strdup()?..
* chosen_kernel
* queue_scrypt_kernel
* strbuf
* initCl
2014-03-17 21:56:43 +02:00
phm
e260e79ab2 Added support for FugueCoin 2014-03-17 19:25:43 +01:00
Noel Maersk
f2934d8afd misc: set algorithm in example.conf, set GPU clocks as if there were 3 GPUs.
The example configuration is bogus anyway, but at least make it less bogus.
2014-03-15 19:21:48 +02:00
Noel Maersk
ddd3b12de5 misc: change poolname to name in example.conf. 2014-03-15 19:19:34 +02:00
Noel Maersk
fc902f0f41 pool: add back --poolname as hidden option for backward compatibility.
+ Udate NEWS.
2014-03-15 19:08:24 +02:00
troky
49aef7100f Reverting "poolname" to "name". 2014-03-15 19:08:24 +02:00
Noel Maersk
43f96783cd misc: mention adaptive-n-factor support in NEWS.md. 2014-03-15 18:23:15 +02:00
Noel Maersk
ef14022929 misc: typo in doc/configuration.md 2014-03-15 17:39:20 +02:00
Noel Maersk
d2c6f9a799 Merge pull request #149 from troky/master
Bugfix and cleanup.
2014-03-15 17:38:08 +02:00
unknown
958764fecc MSVS build: Fixed debug build. MSVS doesn't like uninitialized variables. 2014-03-15 12:47:32 +01:00
unknown
6b0b424c0a Fixed API timeval formatting again. Use of snprintf() causes problems in MSVS. 2014-03-15 12:45:40 +01:00
Noel Maersk
bf2ca7be0b doc: update doc/configuration.md with algorithm aliases. 2014-03-14 22:00:14 +02:00
Noel Maersk
b80f6c273f misc: fix typo in NEWS.md. 2014-03-14 18:22:20 +02:00
Noel Maersk
8079d054d6 Merge branch 'nfactor'
Conflicts (resolved):
	Makefile.am
	winbuild/sgminer.vcxproj.filters
2014-03-14 17:46:54 +02:00
Noel Maersk
e59e4f5f8d Bump version to 4.1.153. 2014-03-14 17:37:57 +02:00
Noel Maersk
0db99d66c0 algorithm: add nfactor aliases "adaptive-n-factor" and "nscrypt".
Also change whitespace back to "4 spaces".
2014-03-14 17:05:23 +02:00
Noel Maersk
2b75a67cdf Merge pull request #147 from troky/nfactor
Added algorithm name to "coin" API command. Changed default algo name to "scrypt".
2014-03-14 16:58:05 +02:00
unknown
0e37fc24b0 Added algorrithm name to "coin" API command. Changed default algo name to "scrypt". 2014-03-13 23:02:51 +01:00
Noel Maersk
609b4f0c5f Merge pull request #145 from troky/master
API: Fixed timeval struct formatting.
2014-03-13 17:38:10 +02:00
unknown
25242861c7 API: Fixed timeval struct formatting . 2014-03-12 09:32:00 +01:00
Noel Maersk
07f5787386 Merge pull request #144 from troky/master
Bugfix and cleanup.
2014-03-11 01:35:01 +02:00
Noel Maersk
2ff4234b29 Merge pull request #143 from Bllacky/patch-4
Update winbuild/README.txt
2014-03-11 01:34:52 +02:00
unknown
e7fbdf3f7a Removed orphan file. 2014-03-10 20:13:58 +01:00
unknown
f7f582732a Fixed bufsize type. 2014-03-10 20:13:17 +01:00
Bllacky
e2763e7a2e Update README.txt 2014-03-10 16:52:31 +02:00
Noel Maersk
549d01e946 Merge pull request #142 from Bllacky/patch-3
Update winbuild/README.txt (instructions for compiling in Windows 7 64-bit)
2014-03-10 16:09:17 +02:00
Bllacky
6a32e173ad Update README.txt 2014-03-10 15:42:29 +02:00
Noel Maersk
95e397d3b5 Merge pull request #140 from troky/nfactor
Added algorithm.* and inttypes.h for MSVS build
2014-03-09 15:58:42 +02:00
Noel Maersk
a697c663a4 Merge pull request #139 from Bllacky/patch-1
Update winbuild/README.txt
2014-03-09 15:57:40 +02:00
unknown
201036dd92 Added algorithm.* and inttypes.h for MSVS build 2014-03-09 11:29:53 +01:00
Bllacky
0b5aace1e1 Update README.txt
In order to compile curl, you need to have Windows SDK installed.
Windows SDK is not needed to compiled the other libraries.
2014-03-09 12:04:42 +02:00
Noel Maersk
4ed13e44a3 doc: update configuration.md with latest on --algorithm and --nfactor.
Should close https://github.com/veox/sgminer/issues/126
2014-03-07 02:35:57 +02:00
Noel Maersk
a3f9b24c69 core: set default algorithm for when neither --algorithm nor --nfactor are provided. 2014-03-07 02:27:06 +02:00