- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 126
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
Add strided generators #151
base: master
Are you sure you want to change the base?
Conversation
I modified FastNoiseCpp11Include test temporarily, and tested with a 4x4 position grid:
where the left column values are generated with
|
Oh, I see the issue now. Load_f32 is assuming contiguous values, and we need to gather instead of load |
I've updated the code to add a FS_Gather_f32, and it is now producing expected results:
I can only test on Win32 with AVX2, and this likely needs to be tested elsewhere |
Thanks, I don't think I will pull this into the current main branch. I'm working on the 1.0 release in the NewFastSIMD branch which hopefully can be released soon. So I will look to integrate it into there |
SGTM 👍 |
This PR adds strided generators, for generating noise corresponding to pre-made spatial points.