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

Random value when use pragma unroll #227

Open
xpoy1 opened this issue Apr 9, 2023 · 0 comments
Open

Random value when use pragma unroll #227

xpoy1 opened this issue Apr 9, 2023 · 0 comments

Comments

@xpoy1
Copy link

xpoy1 commented Apr 9, 2023

Detailed description

https://github.com/10gic/vanitygen-plusplus/blob/master/calc_addrs.cl

Check the function sha2_256_block , after call it, out buffer neither have the computed result, neither reasonable value.
The out buffer can be all zero, or have value before 5nd index array position, but 5nd index position will be empty.
I remove param unroll operate, and rename out and in to another variable name, the bug be gone.

Steps to reproduce

  1. Nvidia 3060 laptop card.
  2. driver version 531.41
  3. system, windows 11 10.0.22000 N/A Build 22000
  4. Compiler => Visual Studio 2021
  5. just call sha256 and print the result.
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

1 participant