Commit Graph

479 Commits

Author SHA1 Message Date
SChernykh
1105f1130c RandomX: don't restart mining threads when the seed changes
It helps to not loose huge pages when the seed changes (every 2048 blocks, ~2.8 days).
2021-12-25 13:39:15 +01:00
SChernykh
e45b4fb916 GhostRidere: set correct priority for helper threads
Fixes #2825
2021-12-20 12:05:17 +01:00
SChernykh
aa3765695e Fixed "READY threads X/X" display after algo switching 2021-12-03 07:44:23 +01:00
SChernykh
bdc3bd4a7c Compiler fix 2021-12-01 17:08:40 +01:00
SChernykh
eed6301b12 VAES crash fixes 2021-11-29 21:05:51 +01:00
SChernykh
9b8be354df Added VAES support for Cryptonight variants 2021-11-28 20:49:54 +01:00
Tony Butler
12a79ca6b7 Slash and burn EOL whitespace everywhere 2021-11-27 17:59:40 -07:00
SChernykh
29399cb7b7 GhostRider hotfixes
- Added average hashrate display
- Fixed the number of threads shown at startup
- Fixed `--threads` or `-t` command line option (but `--cpu-max-threads-hint` is recommended to use)
2021-11-27 12:27:26 +01:00
SChernykh
fa9b5c7b6e GhostRider algorithm (Raptoreum) support 2021-11-23 08:14:01 +01:00
SChernykh
a7bf92068d Fix: use cn-heavy optimization only for Vermeer CPUs
Fixes #2680
2021-11-11 07:57:05 +01:00
Tony Butler
0f73d188e5 Cap max threads to 4096 with nVidia OpenCL 2021-10-11 04:17:01 -06:00
Tony Butler
5de34c4f71 Adjust API version logic 2021-10-11 04:17:01 -06:00
Tony Butler
b30521aa21 Adjust definitions and replace literal 0x4038 2021-10-11 04:17:01 -06:00
Tony Butler
de3f136abc Revert amd_bitalign/amd_bfe polyfills 2021-10-11 04:17:01 -06:00
Tony Butler
e973877e9f Apply "no-static-without-amd" fixes 2021-10-11 04:17:01 -06:00
Tony Butler
8ece2dd10d Attempt repair of cn/r output-array access problem 2021-10-11 04:17:01 -06:00
Tony Butler
a135c12bed Second try at fixing cn/r atomic_inc() call 2021-10-11 04:17:01 -06:00
Tony Butler
5cc1427c78 Attempt fix for cn/r on Apple-AMD 2021-10-11 04:17:01 -06:00
Tony Butler
dcf76473d4 Add Ellesmere correctly (still just a Polaris alias) 2021-10-11 04:17:01 -06:00
Tony Butler
4b3fc88473 Add every Apple AMD GPU type 2021-10-11 04:17:01 -06:00
Tony Butler
5177df95d6 Possibly fix problem with clGetProgramInfo crash 2021-10-11 04:17:01 -06:00
Tony Butler
30b6038925 Readjust OclDevice logic and add OCL_VENDOR_APPLE 2021-10-11 04:17:01 -06:00
SChernykh
5903205e91 Fix: AstroBWT auto-config ignored max-threads-hint 2021-09-26 12:22:58 +02:00
Tony Butler
06feb6eabd Fix compile warning when WITH_RANDOMX=OFF 2021-09-19 18:12:46 -06:00
XMRig
b375269330 Added support for new CUDA plugin API. 2021-08-29 14:22:19 +07:00
XMRig
871f616d72 Merge branch 'GraftRandomX' of https://github.com/Stardock2018/xmrig into pr2563 2021-08-28 11:50:17 +07:00
Chris
f50872a500 Fixed Algorithm id
Algorithm id should be 0x72151267, second and third byte encode L3 and L2 size.
0x72 = 'r'
0x15 = 1 << 0x15 (L3 size)
0x12 = 1 << 0x12 (L2 size)
0x67 = 'g'
2021-08-27 10:31:36 -06:00
Chris
28c81ed18e Added Graft RandonX 2021-08-27 08:19:54 -06:00
XMRig
82a21cb562 Cleanup ARM code. 2021-08-27 12:36:08 +07:00
XMRig
22f68bda8d Code cleanup based on Clang-Tidy. 2021-08-25 18:45:15 +07:00
XMRig
2d318425cf Removed shortName. 2021-08-11 22:26:34 +07:00
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
SChernykh
872ff363dd Fix: don't send miner signature during regular mining 2021-07-01 19:31:55 +02:00
SChernykh
7ef8a295e5 Update signing algorithm 2021-06-21 23:49:13 +02:00
SChernykh
abba1abc10 Added support for solo mining with miner signatures (Wownero) 2021-06-16 18:07:36 +02: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
Tony Butler
3981805920 Fixup MacOS CUDA backend default loader name 2021-05-14 05:28:31 -06:00
SChernykh
7f4337182d Fix AES detection on FreeBSD on ARM 2021-05-03 09:57:43 +02:00
SChernykh
b3d14f51b9 Added support for Uplexa (cn/upx2 algorithm) 2021-04-17 14:53:42 +02:00
SChernykh
7d1c0dc879 Show total hashrate if compiled without OpenCL 2021-04-13 14:02:29 +02:00
Matthew Smith
e9aac2fe6f Add missing include
memory header ends up not being included when built without OpenCL
support.

Closes: https://github.com/xmrig/xmrig/issues/2224
2021-04-01 11:01:55 +01: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
SChernykh
23d2826dc4 Fix GCC compilation 2021-03-04 10:45:39 +01:00
SChernykh
42fe175a7c Fix crash in cn-heavy on Zen3 with manual thread count 2021-03-04 10:02:35 +01:00
SChernykh
83ccef753a Fixed crash when GPU mining cn-heavy on Zen3 system 2021-02-18 14:49:37 +01:00
SChernykh
3e9755c8c8 Optimized cn-heavy for Zen3
- Uses scratchpad interleaving to access only the closest L3 slice from each CPU core.
- Also activates MSR mod for cn-heavy because CPU prefetchers get confused with interleaving
- 7-8% speedup on Zen3
2021-02-07 22:05:11 +01:00
XMRig
7a0f3dc5c4 Always disable kawpow for CPU backend. 2021-02-07 18:49:54 +07:00