PlummersSoftwareLLC / Primes

Prime Number Projects in C#/C++/Python
https://plummerssoftwarellc.github.io/PrimeView/
2.46k stars 573 forks source link

CUDA/solution_2: fix shift direction bug, add documentation #879

Closed rbergen closed 1 year ago

rbergen commented 1 year ago

This fixes a shift direction bug in the word count calculation in preparation for invocation of the block-based multiple unmarking GPU function.

Also, additional source code documentation was added to primes.cu. I'd argue that the code is now evenly and quite extensively documented, throughout.