Noel Maersk
3787f47155
misc: add comment on what cgpu_info->{,k}name are.
11 years ago
Noel Maersk
c9ccf551d7
opencl: remove cl_kernels structure definition and mention.
...
No longer used.
TODO: check if clState would benefit from having kernel name.
11 years ago
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
11 years ago
phm
e260e79ab2
Added support for FugueCoin
11 years ago
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.
11 years ago
Noel Maersk
ddd3b12de5
misc: change `poolname` to `name` in example.conf.
11 years ago
Noel Maersk
fc902f0f41
pool: add back --poolname as hidden option for backward compatibility.
...
+ Udate NEWS.
11 years ago
troky
49aef7100f
Reverting "poolname" to "name".
11 years ago
Noel Maersk
43f96783cd
misc: mention adaptive-n-factor support in NEWS.md.
11 years ago
Noel Maersk
ef14022929
misc: typo in doc/configuration.md
11 years ago
Noel Maersk
d2c6f9a799
Merge pull request #149 from troky/master
...
Bugfix and cleanup.
11 years ago
unknown
958764fecc
MSVS build: Fixed debug build. MSVS doesn't like uninitialized variables.
11 years ago
unknown
6b0b424c0a
Fixed API timeval formatting again. Use of snprintf() causes problems in MSVS.
11 years ago
Noel Maersk
bf2ca7be0b
doc: update doc/configuration.md with `algorithm` aliases.
11 years ago
Noel Maersk
b80f6c273f
misc: fix typo in NEWS.md.
11 years ago
Noel Maersk
8079d054d6
Merge branch 'nfactor'
...
Conflicts (resolved):
Makefile.am
winbuild/sgminer.vcxproj.filters
11 years ago
Noel Maersk
e59e4f5f8d
Bump version to 4.1.153.
11 years ago
Noel Maersk
0db99d66c0
algorithm: add nfactor aliases "adaptive-n-factor" and "nscrypt".
...
Also change whitespace back to "4 spaces".
11 years ago
Noel Maersk
2b75a67cdf
Merge pull request #147 from troky/nfactor
...
Added algorithm name to "coin" API command. Changed default algo name to "scrypt".
11 years ago
unknown
0e37fc24b0
Added algorrithm name to "coin" API command. Changed default algo name to "scrypt".
11 years ago
Noel Maersk
609b4f0c5f
Merge pull request #145 from troky/master
...
API: Fixed timeval struct formatting.
11 years ago
unknown
25242861c7
API: Fixed timeval struct formatting .
11 years ago
Noel Maersk
07f5787386
Merge pull request #144 from troky/master
...
Bugfix and cleanup.
11 years ago
Noel Maersk
2ff4234b29
Merge pull request #143 from Bllacky/patch-4
...
Update winbuild/README.txt
11 years ago
unknown
e7fbdf3f7a
Removed orphan file.
11 years ago
unknown
f7f582732a
Fixed bufsize type.
11 years ago
Bllacky
e2763e7a2e
Update README.txt
11 years ago
Noel Maersk
549d01e946
Merge pull request #142 from Bllacky/patch-3
...
Update winbuild/README.txt (instructions for compiling in Windows 7 64-bit)
11 years ago
Bllacky
6a32e173ad
Update README.txt
11 years ago
Noel Maersk
95e397d3b5
Merge pull request #140 from troky/nfactor
...
Added algorithm.* and inttypes.h for MSVS build
11 years ago
Noel Maersk
a697c663a4
Merge pull request #139 from Bllacky/patch-1
...
Update winbuild/README.txt
11 years ago
unknown
201036dd92
Added algorithm.* and inttypes.h for MSVS build
11 years ago
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.
11 years ago
Noel Maersk
4ed13e44a3
doc: update configuration.md with latest on --algorithm and --nfactor.
...
Should close https://github.com/veox/sgminer/issues/126
11 years ago
Noel Maersk
a3f9b24c69
core: set default algorithm for when neither --algorithm nor --nfactor are provided.
11 years ago
Noel Maersk
c6a27709f8
core: use global algorithm structure instead of opt_nfactor.
...
Also squashed:
config: add log messages to set_algo() and set_nfactor().
algorithm: use set_algorithm_nfactor() when setting default nfactor in set_algorithm().
Otherwise algorithm->n defaults to 0.
P.S. Did I already mention how this could have been C++?..
11 years ago
Noel Maersk
a0c52bf67c
config: introduce set_nfactor() and use it to call set_algorithm_nfactor().
...
Had two bugs:
1. Will not compile due to unknown algorithm_t size.
2. nfactor is set to 0 (bad calling, fix later).
So squashed two commits:
1. algorithm: move algorithm_t definition to header.
2. config: if --nfactor is specified, properly set algorithm->nfactor.
11 years ago
Noel Maersk
92b7770212
config: add `--algorithm` option and documentation.
...
Doc in `doc/configuration.md` (has to be started sometime, no?).
Configuration function has to be lamely-named set_algo(), because
set_algorithm() is already declared in algorithm.h (prevent namespace
conflict).
algorithm has to be added as global variable due to the way the
callback is done (by CCAN/opt, which in itself is nice).
This can be cleaned up significantly by (at least) introducing a
global configuration struct, but there is no reason to do it now
just for this - better a wholesale manana.
11 years ago
Noel Maersk
50a792f2cd
algorithm: initial set_algorithm() and set_algorithm_nfactor().
11 years ago
Noel Maersk
776eec2e11
algorithm: initial structure definition.
11 years ago
phm
66f508d01f
Added support for AnimeCoin
11 years ago
Noel Maersk
c2c8231b9e
kernel: zuikkis supports all worksizes.
...
Closes https://github.com/veox/sgminer/issues/130
11 years ago
Noel Maersk
28ade9f4e4
Merge remote-tracking branch 'troky/build-msvs2010-upd2'
11 years ago
Noel Maersk
ded4452316
ui: check for opt_incognito is Display settings menu.
11 years ago
Noel Maersk
8f014effeb
util: add missing include.
11 years ago
Noel Maersk
9c0f912434
core: remove ifdef from opt_compact and opt_incognito declaration.
11 years ago
unknown
747efda902
MSVS2010: Added pool.c and pool.h to project.
11 years ago
phm
ccc7d137ed
Added remaning sphlib files needed for SHA256.
11 years ago
phm
8fe1b860c5
Added support for MyriadCoin groestl algorithm.
11 years ago
Noel Maersk
428061e416
pool: display URL instead of "Pool N" if no poolname provided.
...
This works since get_pool_name() in pool.c checks if an empty string is
provided, and uses the URL instead if so.
11 years ago