Commit Graph

34 Commits

Author SHA1 Message Date
XMRig
84de8fc9e8 Fixed and simplified OpenCL GPU type detection. 2024-11-08 07:09:35 +07:00
SChernykh
b85b426c51 Fix: don't use NaN in hashrate calculations 2024-10-23 11:40:27 +02:00
SChernykh
637c7c9209 Removed deprecated AstroBWTv1 and v2 2022-06-12 11:47:36 +02:00
SChernykh
0d0ff4fe71 Removed old AstroBWT algorithm
It's not used anywhere now.
2022-04-15 10:59:31 +02:00
SChernykh
f9d8461dbd Dero HE (astrobwt/v2) OpenCL support 2022-03-14 20:13:31 +01:00
XMRig
22f68bda8d Code cleanup based on Clang-Tidy. 2021-08-25 18:45:15 +07:00
XMRig
03c10c8592 Restore Hashrate class interface. 2020-12-05 11:09:25 +07: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
SChernykh
9fd7f42e95 Reduced memory for KawPow 2020-06-05 14:01:49 +02: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
2771cf3582 Add 3rdparty prefix to all rapidjson includes. 2020-04-29 14:55:04 +07:00
SChernykh
e793dd3be2 AstroBWT CUDA support 2020-04-04 11:05:44 +02:00
XMRig
0a60a931fc Added printHealth to IBackend interface. 2020-02-14 01:11:53 +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
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
22b2ebafb7 Added "health-print-time" option. 2019-11-01 04:08:52 +07:00
XMRig
70acc63349 Added manual (e key) health reports. 2019-11-01 00:09:28 +07:00
XMRig
114ed18c85 Implemented NvmlLib. 2019-10-30 20:26:21 +07:00
XMRig
c99df6dbf4 Added initial NVML stub. 2019-10-30 15:33:06 +07:00
XMRig
a460578b5c Fixed singular form for threads. 2019-10-29 17:18:46 +07:00
XMRig
122b0dc2c7 Added version information to API. 2019-10-29 14:25:40 +07:00
XMRig
ec439dc9be Added CUDA threads to API. 2019-10-28 13:18:00 +07:00
XMRig
97f9364dc6 Added CudaWorker and CudaLaunchData. 2019-10-26 17:37:54 +07:00
XMRig
b1d4aa2711 Implemented CUDA config generation. 2019-10-26 03:12:55 +07:00
XMRig
d1d8e07d98 Added CudaDevice class. 2019-10-26 00:49:59 +07:00
XMRig
2b3840a3d4 Added CudaLib stub. 2019-10-25 16:46:49 +07:00
XMRig
041fbc572e Added initial CUDA backend stub. 2019-10-23 16:37:56 +07:00