Commit Graph

68 Commits

Author SHA1 Message Date
XMRig
8f8a48843b Update user agent for macOS and fix compile warnings 2020-12-13 13:57:12 +07:00
XMRig
467e85a9c2 More correct CPU affinity support for macOS. 2020-12-13 01:20:31 +07:00
XMRig
03c10c8592 Restore Hashrate class interface. 2020-12-05 11:09:25 +07:00
XMRig
9a120b979b Added GpuWorker class. 2020-12-04 22:25:28 +07:00
XMRig
b50ecc4b8f Removed legacy CUDA plugin API. 2020-10-20 18:04:56 +07:00
XMRig
ea7275fc28 Added Benchmark class. 2020-10-17 04:03:42 +07:00
XMRig
14892cf040 Removed m_bench field from Job class. 2020-10-16 20:29:11 +07:00
cohcho
9c3101b419 WorkerJob: fix calls of add/nextRound
WorkerJob::nextRound() doesn't require roundSize to be power of 2
Use CudaWorker::intensity(), OclWorker::intensity() to get device batch size
Sync nonce and device iteration
2020-10-15 14:56:37 +00:00
SChernykh
ccf13673aa Fixed roundSize() usage in OCL/CUDA 2020-10-15 14:39:54 +02:00
SChernykh
2ffbf20f20 Make round size power of 2 2020-10-15 14:29:15 +02:00
SChernykh
a046437d5f Added benchmark and stress test
Easy to use and zero configuration embedded benchmark/stress test.
2020-10-14 19:45:05 +02:00
SChernykh
2af99c3d83 More precise hashrate calculation
- Use only steady timestamp counters to guarantee correctness
- CPU backend: directly measure total hashrate using raw hash counters from each thread; update data more often on ARM CPUs because they're slower
- GPU backends: directly measure total hashrate too, but use interpolator with 4 second lag to fix variance from batches of hashes

Total hashrate is now measured directly (realtime for CPU, 4 seconds lag for GPU), so it might differ a bit from the sum of all thread hashrates because data points are taken at different moments in time.

Overhead is reduced a lot since it doesn't have to go through all threads to calculate max total hashrate on every timer tick (2 times a second).
2020-10-10 11:18:01 +02:00
XMRig
04f3abb4e2 Improved CUDA loader error reporting and fixed plugin load on Linux. 2020-08-23 21:30:12 +07:00
XMRig
eb9f98b8ce Better scripts/build.*.sh compatibility. 2020-08-23 15:46:56 +07:00
XMRig
5850a2aa26 Disable GPU backends with static build on Linux. 2020-08-20 15:02:31 +07:00
SChernykh
5730b7fd27 Show GPU # when compute error happens 2020-06-11 19:48:53 +02:00
XMRig
a5442dbcb2 Merge branch 'evo' of https://github.com/SChernykh/xmrig into pr1713 2020-06-05 19:17:01 +07:00
XMRig
21381c297a Add tag to error message. 2020-06-05 19:02:32 +07:00
SChernykh
9fd7f42e95 Reduced memory for KawPow 2020-06-05 14:01:49 +02:00
SChernykh
25685ebab1 Print errors from KawPow DAG initialization 2020-06-05 09:33:36 +02:00
XMRig
55e564322c Change API version for CUDA plugin. 2020-06-03 19:01:21 +07:00
SChernykh
afdf26616e KawPow: reduced stale/expired shares 2020-05-31 18:22:21 +02:00
SChernykh
474f97695e Hashrate display fixes 2020-05-28 22:23:31 +02:00
XMRig
311e6a1e39 Log cleanup. 2020-05-29 02:11:29 +07:00
XMRig
306dfe8d6a Use long tags. 2020-05-28 20:32:41 +07:00
XMRig
62c0d58174 Fixed code style. 2020-05-27 23:30:17 +07:00
SChernykh
f24da62db0 KawPow WIP 2020-05-27 16:19:57 +02:00
XMRig
2771cf3582 Add 3rdparty prefix to all rapidjson includes. 2020-04-29 14:55:04 +07:00
XMRig
a1bd9ccd93 Update base. 2020-04-29 14:17:33 +07:00
XMRig
573bdfdd3f Code cleanup. 2020-04-12 19:50:11 +07:00
XMRig
247a07fe6b Code style cleanup 2020-04-04 17:19:23 +07:00
SChernykh
e793dd3be2 AstroBWT CUDA support 2020-04-04 11:05:44 +02:00
XMRig
ed44b0c009 Move files. 2020-03-09 01:22:34 +07:00
XMRig
1b9e3169c6 Added "coin": "keva" and post PR cleanup. 2020-03-07 20:38:44 +07:00
kevacoin
b02cc24ae1 Added Keva. 2020-03-04 16:23:33 -08:00
XMRig
0a60a931fc Added printHealth to IBackend interface. 2020-02-14 01:11:53 +07:00
XMRig
7828951b51 Fixed nicehash nonce overflow for GPU backends. 2020-02-06 22:00:03 +07:00
XMRig
bea37f59c8 Added support for alternative CUDA plugin API. 2019-12-25 00:35:43 +07:00
XMRig
2df6f5cd17 Added ENV support for "loader" option. 2019-12-22 19:48:33 +07:00
XMRig
a5d13c4e64 Allow use old CUDA plugin. 2019-12-20 21:10:13 +07:00
XMRig
14fac4e70c Added total memory size to summary. 2019-11-29 11:06:28 +07:00
XMRig
600727f3f9 Don't print health report if CUDA backend disabled. 2019-11-15 18:09:09 +07:00
XMRig
5c3ce370e3 #1285 Added command line options --cuda-bfactor-hint and --cuda-bsleep-hint. 2019-11-15 03:10:58 +07:00
XMRig
432d11a3d4 #1284 Fixed build without RandomX. 2019-11-14 15:11:47 +07:00
XMRig
e326a657d1 #1274 Added --cuda-devices command line option. 2019-11-13 00:40:22 +07:00
XMRig
84b6bb947b #1273 Fixed crash when use "GET /2/backends" API endpoint with disabled CUDA. 2019-11-10 22:05:52 +07:00
XMRig
d9a7b5ebaf Make option "dataset_host" available only for RandomX. 2019-11-06 19:00:50 +07:00
xmrig
543aa1c409 Merge pull request #1263 from SChernykh/evo
RandomX: added support for dataset on host
2019-11-06 17:53:06 +07:00
SChernykh
afff2f0a6f Updated required API version 2019-11-05 23:27:15 +01:00
SChernykh
1a001aea29 RandomX: added support for dataset on host 2019-11-05 22:24:48 +01:00