Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Conversation

philfontaine
Copy link
Contributor

Bug does not occur when not using Vector128 acceleration, and does not appear when size is between Vector128 and Vector256 so all tests are passing. You need to force using Vector128 to write a failing test.

e.g.

-   else if (!Vector256.IsHardwareAccelerated || source.Length < Vector256<T>.Count)
+   else if (true)

@neuecc
Copy link
Member

neuecc commented Feb 23, 2023

thanks!
I will think about it regarding better testing methods. ......

@neuecc neuecc merged commit a081c2c into Cysharp:main Feb 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants