Skip to content
This repository was archived by the owner on Apr 24, 2022. It is now read-only.

use legacy with AMDGPU-Pro 17 #565

Closed
nerdralph opened this issue Jan 15, 2018 · 3 comments
Closed

use legacy with AMDGPU-Pro 17 #565

nerdralph opened this issue Jan 15, 2018 · 3 comments

Comments

@nerdralph
Copy link
Contributor

The new HSA/ROCm compiler in the AMDGPU-Pro drivers does a poor job of optimizing, making mining performance about 10% slower than AMDGPU-Pro 16.
Setting AMD_OCL_BUILD_OPTIONS_APPEND=-legacy will use the old compiler, restoring good performance.
I now get 28.6-29Mh with a Rx 470 clocked at 1126/2000 vs 28.5 for ethminer-nr (which uses -legacy by default).

@deanmarano
Copy link

Where is this to be set? I tried to set during the cmake configure (cmake AMD_OCL_BUILD_OPTIONS_APPEND=-legacy ..) but that doesn't seem like the right place.

@nerdralph
Copy link
Contributor Author

It's a runtime variable you set before starting ethminer.
export AMD_OCL_BUILD_OPTIONS_APPEND=-legacy

@DeadManWalkingTO
Copy link
Contributor

I think this issue can be closed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants