ystarnaud
ef722e697d
Fix to apply correct GPU engine clock or range
...
This addresses issue #265 . GPU engine clock will be the exact value or range specified, with the correct min/max.
2014-06-20 13:10:13 -04:00
Elbandi
3b298478a3
Made opt_algorithm to simple variable
2014-06-17 18:11:59 +02:00
Jan Berdajs
d818014838
index was into cgpu threads, not into global mining threads
2014-06-09 18:15:24 +02:00
Jan Berdajs
25d7d426fd
convert tabs to spaces in most commonly modified files
2014-06-09 17:45:06 +02:00
Jan Berdajs
2ea8f5d018
just in case, read-lock devices
2014-06-09 17:31:22 +02:00
Jan Berdajs
9fdd23e6ff
since mining_threads count can change, we need to lock more carefully and get_thread function is not helpful anymore
2014-06-09 17:25:24 +02:00
Jan Berdajs
954c0e6fbc
fix opt_kernel_path writing over the allocated memory! also some small changes for more robust hard restart
2014-06-09 15:56:39 +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
87bbca6148
only change gpu engine, memclock, fans, if ADL is enabled
2014-06-05 00:13:34 +02:00
Jan Berdajs
9ec87cfc1a
fixes for MSVC2010 to build
2014-05-29 22:48:25 +02:00
Jan Berdajs
6c5ce535d9
fix compiler warnings
2014-05-29 01:34:29 +02:00
Jan Berdajs
dca83c1112
Add improved Darkcoin (X11-mod) algorithm
2014-05-27 03:39:19 +02:00
Jan Berdajs
d12cda0589
refactor that will come handy soon
2014-05-27 02:02:58 +02:00
Jan Berdajs
9d9f5b7586
Add MaxCoin support
2014-05-27 01:12:30 +02:00
Jan Berdajs
c0baf790f6
making new algorithms and other changes merged from sph-sgminer work with current version of sgminer
2014-05-27 01:11:54 +02:00
Jan Berdajs
93e3a6d107
Merge branch 'master' into sph
...
Not working yet, need to upgrade algorithm_t
Conflicts:
configure.ac
driver-opencl.c
miner.h
ocl.c
sgminer.c
util.c
2014-05-24 21:22:04 +02:00
sterlingpickens
89c1411fde
Update driver-opencl.c
2014-05-02 09:32:57 -07:00
phm
0001517ac0
Merge branch 'marucoin'
...
Conflicts:
Makefile.am
configure.ac
driver-opencl.c
miner.h
ocl.c
sgminer.c
2014-04-15 19:43:30 +02:00
phm
67cf41a50c
Added support for MaruCoin
2014-04-15 00:20:05 +02:00
Noel Maersk
3ddf6baad9
core: rename default_algorithm to opt_algorithm.
...
... So it's easier to find when refactoring the configuration system
later on.
2014-04-07 22:09:05 +03:00
phm
769c9f8036
Merge branch 'twecoin'
...
Conflicts:
Makefile.am
configure.ac
driver-opencl.c
miner.h
ocl.c
sgminer.c
sph/Makefile.am
2014-04-05 17:41:42 +02:00
phm
474091c426
Added support for Twecoin
2014-04-05 17:27:59 +02:00
Jan Berdajs
c2131df6aa
add support for setting algorithm/nfactor for each pool separately, and fix bugged OpenCL thread cleanup (thread shutdown)
2014-03-31 21:05:20 +02:00
phm
a683f935a4
Merge branch 'sifcoin'
...
Conflicts:
Makefile.am
configure.ac
driver-opencl.c
miner.h
ocl.c
sgminer.c
2014-03-31 17:06:16 +02:00
phm
0f88162c39
Added support for Sifcoin
2014-03-31 17:02:06 +02:00
Noel Maersk
bc9b313e9c
opencl: check if gpus.kernelname has to be free()'d before setting.
...
In this case it doesn't, since the function is only used for config
parsing (I hope). Add the check to prevent a memory leak, just in
case this changes in the future.
TODO: Option parsing functions should really be moved elsewhere and
renamed appropriately, like set_opt_kernel() or config_set_kernel(),
if config parsing is to remain as-is. It will probably change
drastically, so leaving as-is for now.
2014-03-27 17:37:18 +02:00
phm
983eae1142
Merge branch 'groestlcoin'
...
Conflicts:
Makefile.am
configure.ac
driver-opencl.c
miner.h
ocl.c
sgminer.c
2014-03-22 23:58:10 +01:00
phm
764d8706b4
Added support for GroestlCoin.
2014-03-22 23:50:21 +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
e0736b1d5b
misc: suggest checking configuration in log message.
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
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
phm
66f508d01f
Added support for AnimeCoin
2014-03-05 18:00:30 +01:00
phm
8fe1b860c5
Added support for MyriadCoin groestl algorithm.
2014-03-01 09:33:32 +01:00
phm
3e89fb950f
Merge branch 'quark'
...
Conflicts:
Makefile.am
configure.ac
driver-opencl.c
miner.h
ocl.c
sgminer.c
2014-02-23 18:56:05 +01:00
phm
d9fc7ccb4e
Added support for QubitCoin
2014-02-22 19:21:05 +01:00
phm
c336a8399a
Added support for INKcoin.
2014-02-22 16:58:00 +01:00
phm
089bfddc9b
Merge branch 'quark' into inkcoin
...
Conflicts:
Makefile.am
configure.ac
driver-opencl.c
ocl.c
sgminer.c
2014-02-22 16:56:59 +01:00
Noel Maersk
44aed3570e
Merge branch 'build-msvs2010-upd' into build-msvs2010-merge
...
Test in separate branch before merging into master.
Conflicts (resolved):
api.c
util.c
2014-02-22 17:05:07 +02:00
phm
e92d5ebf6e
Added support for InkCoin
2014-02-22 12:46:46 +01:00
phm
60a0e00243
Added support for quarkcoin difficulty calculation.
2014-02-22 11:04:06 +01:00
phm
a17ec112f6
Added support for Quark mining.
2014-02-21 15:45:29 +01:00
phm
9585d2a8e6
Added support for DarkCoin kernel. Modified stats display to handle low difficulty values.
2014-02-19 23:06:29 +01:00
Noel Maersk
dc9f270d3a
log: disable spammy log message.
2014-02-14 13:55:42 +02:00
Noel Maersk
dff7876b7a
Merge branch 'master' into build-msvs2010-upd
2014-02-07 21:45:26 +02:00
Noel Maersk
8043af5ec7
core: write gpu-threads to config when using ncurses menu.
2014-02-07 00:52:49 +02:00
Noel Maersk
b5b20c19f6
core: make errors on reading experimental options from config less scary.
...
The config file is written poorly: first off, not all available options
are written (they have to be written manually, since there's no struct
enumeration); then, default values are not commented out.
2014-02-07 00:34:56 +02:00