Skip to content

@SChernykh SChernykh released this Jul 21, 2019 · 42 commits to master since this release

Contains portable OpenCL code for all GPUs and optimized code for AMD Vega GPUs (Windows only).

Recommended command line for all GPUs:

RandomX_OpenCL.exe --mine --validate --portable --workers 8 --bfactor 5 --fast_fp --intensity N

Choose N depending on available GPU memory: 1984 or less for 8 GB GPUs, 1536 or less for 6 GB GPUs, 768 or less for 4 GB GPUs.

Recommended command line for testing AMD Vega:

RandomX_OpenCL.exe --mine --validate --intensity 1984

NOTE: 0.01% - 0.012% of failed hashes is normal and expected. The code for FDIV/FSQRT doesn't always produce correct results, but it's much faster than "always correct" version.

To test power usage properly, turn off CPU validation:

RandomX_OpenCL.exe --mine --intensity 1984
or
RandomX_OpenCL.exe --mine --portable --workers 8 --bfactor 5 --fast_fp --intensity N

The benchmark tests only 1 GPU at a time. If you have more than 1 GPU, you can select GPU to test by adding --device_id N to the command line where N=0,1,2,...

Assets 3
You can’t perform that action at this time.