Skip to content

Conversation

@JacobLevinson
Copy link
Contributor

Previously, this generate function will recast the result of static_cast<float>(rand()) / RAND_MAX; back to an int because the function is defined as returning an int, thus the result will aloways be rounded down to 0 and all genrated data is all 0's. Thus, correctness is not really checked in this test, because the input is all 0's so it's easy to make the outputs all equal 0 as well.

@tinebp tinebp merged commit 1a4267a into vortexgpgpu:master Jun 7, 2025
26 of 27 checks passed
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

Successfully merging this pull request may close these issues.

2 participants