Work continues here:
https://github.com/949f45ac/xmrig-HIP(See first reply itt as well, for current status.)
Original OP:
Hey everyone.
I’ve developed a new miner on the basis of xmr-stak-nvidia. Here is the link:
https://github.com/949f45ac/xmr-stak-hipIt is all open source and can run both AMD and Nvidia cards, usually a bit faster than the other open source miners. (I did not test against closed source.)
Building requires a quite specialized setup with
ROCm. If you run Nvidia cards, there is a portable binary in the "releases" section. I could upload one for AMD as well, but you’ll still need to setup ROCm to run it, so you may as well build the miner yourself.
As for the hashrates, here is a small table with some test results. ("Previous" = open source CUDA/OpenCL monero7 implementations that come with xmr-stak/xmrig.)
As you can see, the HIP miner does especially well on power-optimized settings.
Card | Card setting | Previous T x B | Previous H/s | x-s-hip T x B | x-s-hip H/s |
1050Ti 4GB | pl=52.5W | 64x30 | 296 | 32x48 | 313 |
1050Ti 4GB | pl=75W | 64x30 | 303 | 32x48 | 319 |
460 2GB mod | sclk=3 | 8x448 | 385 | 8x112 | 416 |
460 2GB mod | sclk=4 | 8x448 | 405 | 8x112 | 419 |
Vega 56 reference | sclk=0 mem+10% | 8x1928 * 2 | 1075-1120 | 8x224 * 2 | 1170 stable |
Vega 56 reference | sclk=5 mem+10% | 8x1928 * 2 | 1240-1325 | 8x224 * 2 | 1304 stable |
Notes:
- "T x B" indicates "threads x blocks" configuration, or "worksize x intensity" in the case of OpenCL.
- RX 460 had modded BIOS, but memory not overclocked. (Polaris memory is hard to OC on Linux.)
- OpenCL miner cannot use higher intensity than 448 on the 2 GB RX 460 for some reason.
- Vega 56 fluctuates quite a bit on OpenCL.
- Vega 56 numbers for the HIP miner have two processes started. Scheduling two GPU workloads in the same process does not work for some reason. But hashrate for a single 8x448 process is only about 15 H/s less in both cases.
- All Vega numbers are with Kernel driver patch applied. (Slightly increases both OpenCL and HIP miner speed.)
Dev donation address in the miner is unchanged. If you insist on giving me coins personally, addresses are in the README.
You may also just give a star to the repo or send me some thanks, if you use this miner and like it.
Cheers