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

OpenCL bug still not fixed ... #256

Open
RB61 opened this issue Jun 22, 2020 · 1 comment
Open

OpenCL bug still not fixed ... #256

RB61 opened this issue Jun 22, 2020 · 1 comment

Comments

@RB61
Copy link

RB61 commented Jun 22, 2020

_points = pointsPerThread * threads * blocks;

uint64_t totalPoints = (uint64_t)_points * _threads * _blocks;

These is a contradiction here:

_points = pointsPerThread * threads * blocks; // line 37

uint64_t totalPoints = (uint64_t)_points * _threads * _blocks; // line 578

At line 37 : _points seems to be the total points since multiplied by threads and blocks
At line 587 _points is multiplied again by threads and blocks

I fixed it by naively changing line 578 to this:
uint64_t totalPoints = (uint64_t)_points ;

@crackprivatekeys
Copy link

Need Help with private key

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