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

AMD: optimize unroll for rx5700 #2519

Merged
merged 1 commit into from
Oct 13, 2019

Conversation

psychocrypt
Copy link
Collaborator

@psychocrypt psychocrypt commented Aug 24, 2019

solve #2509

for RX5700

  • use unroll 8
  • use two threads for cryptonight_gpu

@@ -188,7 +188,9 @@ class autoAdjust
// @todo check again after all optimizations
maxThreads = ctx.computeUnits * 6 * 8;
ctx.stridedIndex = 0;
numUnroll = 1;
// do not change unroll for AMD RX5700
if(ctx.name.compare("gfx1000") != 0)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

name must be gfx1010

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is now fixed

@psychocrypt psychocrypt force-pushed the topic-optimizeUnrollrx5700 branch from ef8dc98 to 1e71af4 Compare September 22, 2019 19:40
solve fireice-uk#2509

- use unroll 8 for RX5700
- use 2 threads for cnr_gpu and RX5700
@psychocrypt psychocrypt force-pushed the topic-optimizeUnrollrx5700 branch from 1e71af4 to f626f07 Compare September 22, 2019 19:40
@fireice-uk fireice-uk merged commit ae15a68 into fireice-uk:dev Oct 13, 2019
@psychocrypt psychocrypt mentioned this pull request Dec 1, 2019
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.

2 participants