Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix invalid shares #1866

Merged
merged 1 commit into from
Oct 5, 2018
Merged

fix invalid shares #1866

merged 1 commit into from
Oct 5, 2018

Conversation

psychocrypt
Copy link
Collaborator

With rocm we fighted very long with invalid shares. This is now solved with rocm 1.9 and
this tiny fix.
It is not fully clear where a memory optimization is kicking in and break the kernel Groestl if the variables M and H are not volatile.
The performance ill not change with this fix.

The fix is tested with rocm 1.9 with a VEGA64 and a RX570

With rocm we fighted very long with invalid shares. This is now solved with rocm 1.9 and
this tiny fix.
It is not fully clear where a memory optimization is kicking in and break the kernel `Groestl` if the variables `M` and `H` are not `volatile`.
The performance ill not change with this fix.

The fix is tested with rocm 1.9 with a VEGA64 and a RX570
Copy link

@Zarkoob Zarkoob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is working with my RX580 as well.

@dbielecki82
Copy link

Regarding #1733 compiled the latest dev branch @ #1866 on windows, still 0 valid shares.

@mbranchick
Copy link

mbranchick commented Oct 19, 2018

2.5.1 compiled with the change specified here, still resulting in almost 100% invalid shares.

amdgpu-pro-18.30-641594 on R9 380 TONGA.

rocm not supported on these older GPUs.

@psychocrypt
Copy link
Collaborator Author

psychocrypt commented Oct 20, 2018 via email

@Kosturek
Copy link

Kosturek commented Oct 25, 2018

But Tonga can't work with ROCm

AMD driver 18.3 is broken you must use ROCm 1.9.X under linux.

@Kosturek
Copy link

I'm using amdgpu-pro-opencl-17.50.552542 with xmr-stak-2.5.1 to get valid results on Tonga

2.5.1 compiled with the change specified here, still resulting in almost 100% invalid shares.

amdgpu-pro-18.30-641594 on R9 380 TONGA.

@Spudz76
Copy link
Contributor

Spudz76 commented Oct 25, 2018

17.50 or earlier also works, and is all you can do for older GPUs

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

Successfully merging this pull request may close these issues.

7 participants