Commit Graph

19 Commits

Author SHA1 Message Date
SChernykh
637c7c9209 Removed deprecated AstroBWTv1 and v2 2022-06-12 11:47:36 +02:00
SChernykh
3cdfe6b30e Fixed unaligned memory accesses 2022-01-26 17:18:18 +01:00
XMRig
8f8a48843b Update user agent for macOS and fix compile warnings 2020-12-13 13:57:12 +07:00
XMRig
9a120b979b Added GpuWorker class. 2020-12-04 22:25:28 +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
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
SChernykh
5730b7fd27 Show GPU # when compute error happens 2020-06-11 19:48:53 +02:00
SChernykh
afdf26616e KawPow: reduced stale/expired shares 2020-05-31 18:22:21 +02:00
SChernykh
f24da62db0 KawPow WIP 2020-05-27 16:19:57 +02:00
SChernykh
e793dd3be2 AstroBWT CUDA support 2020-04-04 11:05:44 +02: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
2872c4737a Display backend for shares. 2019-10-29 15:43:13 +07:00
XMRig
35a1dfa5f4 Added RandomX support. 2019-10-28 01:18:08 +07:00
XMRig
8b7834ecf7 Improved error handling. 2019-10-27 19:51:21 +07:00
XMRig
7ac6e0ac91 Implemented cryptonight mining. 2019-10-27 17:53:00 +07:00
XMRig
97f9364dc6 Added CudaWorker and CudaLaunchData. 2019-10-26 17:37:54 +07:00