SChernykh
206295c6cb
Fixed Zephyr mining (OpenCL)
2024-01-13 20:14:08 +01:00
SChernykh
d94d052e6c
KawPow: fixed data race when building programs
...
`uv_queue_work` can't be called from other threads, only `uv_async_send` is thread-safe.
2023-06-19 12:32:28 +02:00
Matthew Smith
51728b2d55
Fix build with gcc 13
...
Now some header files are not included transistively with new
libstdc++.
Bug: https://bugs.gentoo.org/895226
2023-03-23 12:01:15 +01:00
SChernykh
22d6a7525e
Removed deprecated AstroBWTv1 and v2
2022-06-12 11:47:36 +02:00
SChernykh
a3cb74f29b
Removed old AstroBWT algorithm
...
It's not used anywhere now.
2022-04-15 10:59:31 +02:00
SChernykh
baef34ba8c
Fixed AstroBWT OpenCL config generation
2022-03-16 10:15:38 +01:00
SChernykh
7b9135aadc
Dero HE (astrobwt/v2) OpenCL support
2022-03-14 20:13:31 +01:00
SChernykh
644f4cc017
Fixed unaligned memory accesses
2022-01-26 17:18:18 +01:00
SChernykh
e0701f9dad
KawPow OpenCL: build next period only when it's not in cache
2022-01-24 13:28:58 +01:00
SChernykh
14aacf8636
KawPow OpenCL: use separate UV loop for building programs
...
Fixes #2890 : uv_default_loop() can't be used there because UV loops are not thread safe.
2022-01-24 13:20:04 +01:00
Tony Butler
02240eff8c
Slash and burn EOL whitespace everywhere
2021-11-27 17:59:40 -07:00
Tony Butler
c6a68c3e51
Cap max threads to 4096 with nVidia OpenCL
2021-10-11 04:17:01 -06:00
Tony Butler
ca8bef3ade
Adjust API version logic
2021-10-11 04:17:01 -06:00
Tony Butler
d735caa334
Adjust definitions and replace literal 0x4038
2021-10-11 04:17:01 -06:00
Tony Butler
eb54cc0e0f
Revert amd_bitalign/amd_bfe polyfills
2021-10-11 04:17:01 -06:00
Tony Butler
84c67c37cd
Apply "no-static-without-amd" fixes
2021-10-11 04:17:01 -06:00
Tony Butler
b44f38a362
Attempt repair of cn/r output-array access problem
2021-10-11 04:17:01 -06:00
Tony Butler
8ed4088d0a
Second try at fixing cn/r atomic_inc() call
2021-10-11 04:17:01 -06:00
Tony Butler
cdcea2a4f9
Attempt fix for cn/r on Apple-AMD
2021-10-11 04:17:01 -06:00
Tony Butler
f0d80326ec
Add Ellesmere correctly (still just a Polaris alias)
2021-10-11 04:17:01 -06:00
Tony Butler
cb8fc26cbe
Add every Apple AMD GPU type
2021-10-11 04:17:01 -06:00
Tony Butler
5ec5b5ed00
Possibly fix problem with clGetProgramInfo crash
2021-10-11 04:17:01 -06:00
Tony Butler
67e29c1af1
Readjust OclDevice logic and add OCL_VENDOR_APPLE
2021-10-11 04:17:01 -06:00
XMRig
35acb3f00b
Merge branch 'GraftRandomX' of https://github.com/Stardock2018/xmrig into pr2563
2021-08-28 11:50:17 +07:00
Chris
7f2771b466
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
5fdf5516ff
Added Graft RandonX
2021-08-27 08:19:54 -06:00
XMRig
c7ac314110
Code cleanup based on Clang-Tidy.
2021-08-25 18:45:15 +07:00
XMRig
e9ae4deb91
Removed duplicate strings.
2021-08-11 22:07:43 +07:00
XMRig
aee0762424
Fix typo.
2021-08-11 16:27:36 +07:00
XMRig
e6332eff2b
Implemented stable algorithm ids.
2021-08-11 03:46:34 +07:00
XMRig
08a2c143f5
Regenerate OpenCL headers.
2021-05-16 10:09:29 +07:00
Tony Butler
4eb9a1aad5
Fix CL code for KawPow where it assumes everything is AMD
2021-05-15 20:34:57 -06:00
SChernykh
da7f5826cb
Added support for Uplexa (cn/upx2 algorithm)
2021-04-17 14:53:42 +02:00
André Biseth
7c0d60ac68
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
2c52a5a352
#2066 Fixed AMD GPUs health data readings.
2021-01-30 02:42:59 +07:00
XMRig
9ca1a6129b
#2066 Quick fix for AMD GPUs health data.
2021-01-29 01:23:35 +07:00
SChernykh
2f2b33c82b
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
0da3390d09
More static analysis fixes
2020-12-08 16:05:58 +01:00
SChernykh
cafd868773
Fixed errors found by static analysis
2020-12-08 12:16:59 +01:00
XMRig
acf7ec8355
Restore Hashrate class interface.
2020-12-05 11:09:25 +07:00
XMRig
bd82b3c852
Added GpuWorker class.
2020-12-04 22:25:28 +07:00
XMRig
328f985e07
Added Benchmark class.
2020-10-17 04:03:42 +07:00
XMRig
7fc7b976bf
Removed m_bench field from Job class.
2020-10-16 20:29:11 +07:00
cohcho
5b4648339a
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
8c45e3226d
Fixed roundSize() usage in OCL/CUDA
2020-10-15 14:39:54 +02:00
SChernykh
c4db1435b2
Make round size power of 2
2020-10-15 14:29:15 +02:00
SChernykh
2ecece7b3d
Added benchmark and stress test
...
Easy to use and zero configuration embedded benchmark/stress test.
2020-10-14 19:45:05 +02:00
SChernykh
4f7186cb0e
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
3fbf2ac3d4
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
ebf259fa7c
RandomX: removed rx/loki
...
Loki forks to PoS on October 9th.
2020-10-02 17:02:52 +02:00