Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Algo balancing #152

Open
wants to merge 24 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
4ed5358
Added new --calibrate-algo and --save-config command line options
MoneroOcean Jul 28, 2018
27c508b
Report all possible algorithms to the pool
MoneroOcean Jul 28, 2018
456cbbf
Added perf algo (PerfAlgo) basic support
MoneroOcean Jul 28, 2018
96eacfb
Added support for extended threads and algo-perf config parameters
MoneroOcean Jul 28, 2018
c17bfd3
Added xmrig::Algorithm parameter to autoConf function
MoneroOcean Jul 28, 2018
692088c
Support for OpenCL object release
MoneroOcean Jul 28, 2018
5e7c5b5
Semantic bug fix for cryptonight-heavy/0 OpenCL code
MoneroOcean Jul 28, 2018
0abc185
Added algo performance calibration (benchmarking) functionality
MoneroOcean Jul 28, 2018
976973b
Added pool job algo switch functionality
MoneroOcean Jul 28, 2018
968a8f7
Set m_calibrateAlgo to false by default
MoneroOcean Aug 1, 2018
3a3c628
Set m_saveConfig to false by default
MoneroOcean Aug 1, 2018
93f34fc
Calibrate and save algo-perf automatically
MoneroOcean Aug 1, 2018
84b0240
Added --calibrate-algo-time command line switch support
MoneroOcean Aug 4, 2018
922fb98
Fixed warning about signed/unsigned comparision
MoneroOcean Aug 4, 2018
36b3494
Added user info about current benchmark round length
MoneroOcean Aug 4, 2018
979102a
Added calibrate-algo and calibrate-algo-time save in config file and …
MoneroOcean Aug 4, 2018
3a47cf5
Script for Windows build
MoneroOcean Aug 5, 2018
982eedb
Moved from PerfAlgo to Algo in threads to removed not really used cn-…
MoneroOcean Aug 6, 2018
c8c3628
ALGO_INVALID -> INVALID_ALGO
MoneroOcean Aug 6, 2018
249723f
Restore original algorithm after benchmark
MoneroOcean Aug 6, 2018
20a5398
Removed wrong const word
MoneroOcean Aug 6, 2018
cd13031
Added Algorithm.h
MoneroOcean Aug 6, 2018
a7b7902
Fixed GPU context handling bugs
MoneroOcean Aug 8, 2018
66a50b4
Allow integer algo-perf values
MoneroOcean Aug 8, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ALGO_INVALID -> INVALID_ALGO
  • Loading branch information
MoneroOcean committed Aug 6, 2018
commit c8c3628aa04ef7a959d925b22e4b8004173c2fef
4 changes: 2 additions & 2 deletions src/core/Config.h
Original file line number Diff line number Diff line change
@@ -59,8 +59,8 @@ class Config : public CommonConfig
inline bool isShouldSave() const { return m_shouldSave; }
inline const char *loader() const { return m_loader.data(); }
// access to m_threads taking into accoun that it is now separated for each perf algo
inline const std::vector<IThread *> &threads(const xmrig::Algo algo = ALGO_INVALID) const {
return m_threads[algo == ALGO_INVALID ? m_algorithm.algo() : algo];
inline const std::vector<IThread *> &threads(const xmrig::Algo algo = INVALID_ALGO) const {
return m_threads[algo == INVALID_ALGO ? m_algorithm.algo() : algo];
}
inline int platformIndex() const { return m_platformIndex; }