Commit Graph

180 Commits

Author SHA1 Message Date
XMRig
9da8428c4c Removed duplicate strings. 2021-08-11 22:07:43 +07:00
XMRig
60faa5e144 Fix typo. 2021-08-11 16:27:36 +07:00
XMRig
48a43b9274 Implemented stable algorithm ids. 2021-08-11 03:46:34 +07:00
XMRig
e2f9c8a04c Regenerate OpenCL headers. 2021-05-16 10:09:29 +07:00
Tony Butler
03b7f3316a Fix CL code for KawPow where it assumes everything is AMD 2021-05-15 20:34:57 -06:00
SChernykh
b3d14f51b9 Added support for Uplexa (cn/upx2 algorithm) 2021-04-17 14:53:42 +02:00
André Biseth
215e6e857a Added reference to limits.h in AdlLib_linux.cpp
Suggested solution to bug https://github.com/xmrig/xmrig/issues/2171
2021-03-11 11:50:05 +01:00
XMRig
ee31968547 #2066 Fixed AMD GPUs health data readings. 2021-01-30 02:42:59 +07:00
XMRig
5fc38edc78 #2066 Quick fix for AMD GPUs health data. 2021-01-29 01:23:35 +07:00
SChernykh
01d731ea5a AstroBWT OpenCL fixes
- Rewrote main BWT kernel to work properly on Navi
- Fixed nonce iterations in OclWorker
- Fixed memory allocation for AstroBWT
2020-12-27 16:44:35 +01:00
SChernykh
83d152f557 More static analysis fixes 2020-12-08 16:05:58 +01:00
SChernykh
d5f84a813d Fixed errors found by static analysis 2020-12-08 12:16:59 +01: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
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
f8a0aa06c8 Added argon2/chukwav2 algorithm
New Turtlecoin algorithm. Source: https://github.com/turtlecoin/turtlecoin/blob/development/src/crypto/hash.h#L57
2020-10-12 08:26:57 +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
d5dd4ce89f RandomX: removed rx/loki
Loki forks to PoS on October 9th.
2020-10-02 17:02:52 +02:00
SChernykh
c07ee768ed KawPow: fixed OpenCL memory leak 2020-09-25 10:53:24 +02:00
SChernykh
e94b92b2aa Fixed Cryptonight OpenCL for AMD 20.7.2 drivers
Vega 64 + Windows 10 + AMD 20.7.2 drivers were broken on Cryptonight algorithms.
2020-09-19 23:12:05 +02:00
XMRig
eb9f98b8ce Better scripts/build.*.sh compatibility. 2020-08-23 15:46:56 +07:00
XMRig
1ca51c84e8 Fixed tag in OclLib. 2020-08-21 08:21:51 +07:00
XMRig
5850a2aa26 Disable GPU backends with static build on Linux. 2020-08-20 15:02:31 +07:00
SChernykh
3180e242a9 Cryptonight OpenCL: fix for long input data 2020-07-16 10:39:32 +02:00
XMRig
abdc3effb6 #1754 Fixed GPU health readings for pre Vega GPUs. 2020-07-03 21:14:21 +07:00
SChernykh
aa48c64a05 Fixed DAG initialization on slower AMD GPUs
Display driver could reset on GPUs with screen connected.
2020-06-30 16:53:56 +02:00
XMRig
b439b9cfca Merge branch 'dev' of https://github.com/SChernykh/xmrig into dev 2020-06-23 19:12:34 +07:00
SChernykh
cf1ee9b3d4 Fixed AstroBWT OpenCL compilation on some systems 2020-06-23 13:55:43 +02:00
XMRig
c166623419 Merge branch 'dev' into evo 2020-06-18 11:18:30 +07:00
XMRig
4a2940951c Fixed AMD GPU health readings on Linux. 2020-06-18 11:16:26 +07:00
SChernykh
5730b7fd27 Show GPU # when compute error happens 2020-06-11 19:48:53 +02:00
SChernykh
2ab164caf2 Conceal (CCX) support 2020-06-07 01:01:45 +02:00
SChernykh
afdf26616e KawPow: reduced stale/expired shares 2020-05-31 18:22:21 +02:00
XMRig
e74cf2cb1d Fix compile warnings. 2020-05-29 20:02:57 +07:00
SChernykh
3723fa777d Tuned KawPow OpenCL kernel
Removed unnecessary memory barrier.
2020-05-29 13:10:24 +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
SChernykh
3d622ff2a9 KawPow fix for retarted AMD OpenCL compiler 2020-05-28 20:27:25 +02:00
SChernykh
7056f67726 KawPow performance fix for AMD Navi 2020-05-28 18:28:23 +02:00
XMRig
306dfe8d6a Use long tags. 2020-05-28 20:32:41 +07:00
xmrig
a5591de0e7 Merge pull request #1697 from SChernykh/evo
KawPow: tuned work group size for OpenCL
2020-05-28 16:58:18 +07:00
SChernykh
3168919b83 KawPow: tuned work group size for OpenCL 2020-05-28 10:58:06 +02:00
XMRig
7feec36a14 Fix Linux build. 2020-05-27 22:08:23 +07:00
SChernykh
f24da62db0 KawPow WIP 2020-05-27 16:19:57 +02:00
XMRig
b81a80c26e Merge branch 'dev' 2020-05-23 11:08:53 +07:00