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

x22i keccak #106

Closed
KL0nLutiy opened this issue Nov 9, 2018 · 2 comments
Closed

x22i keccak #106

KL0nLutiy opened this issue Nov 9, 2018 · 2 comments

Comments

@KL0nLutiy
Copy link

There is 2 known patterns that used for keccak kernel. The old one that is used in x22i now and newer one that was implemented by wolf I think. The second one used by avermore in x16r algo: https://github.com/brian112358/avermore-miner/blob/43e36dff5c21ad1ba98ef4b0efa07592780028d8/kernel/x16.cl#L993
This pattern is used by lycl miner:
https://github.com/CryptoGraphics/lyclMiner/blob/master/kernels/keccakF1600/keccakF1600.cl
And also it used by Ethash kernel:
https://github.com/ethereum-mining/ethminer/blob/16e214428ddfc0954df10ba3a728149d68409606/libethash-cl/kernels/cl/ethash.cl#L87

I did a benchmark of this 2 patterns and the old one seems to be faster, but not sure why. Maybe this info will be useful for further x22i performance improvements.

@fancyIX
Copy link
Owner

fancyIX commented Nov 9, 2018

@KL0nLutiy , did you run CodeXL on them? Which one has less vgpr usage and more occupancy? Anyone has vgpr spill. Any LDS banck conflicts?

@fancyIX
Copy link
Owner

fancyIX commented Jan 1, 2019

Won't fix

@fancyIX fancyIX closed this as completed Jan 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants