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

Avx2 new algo and tests fix #33

Merged
merged 4 commits into from
May 24, 2024

Conversation

lemire
Copy link
Member

@lemire lemire commented May 23, 2024

This 'fixes' the Avx2 tests by making sure that they only run when Avx2 is available. I did nothing smart, just using the infrastructure that @Nick-Nuon had built.

@lemire lemire requested a review from Nick-Nuon May 23, 2024 23:58
@lemire lemire mentioned this pull request May 24, 2024
@lemire
Copy link
Member Author

lemire commented May 24, 2024

@Nick-Nuon Note that this PR is on top of #26

Merging this will not go to the main branch!!!

@Nick-Nuon
Copy link
Collaborator

Nick-Nuon commented May 24, 2024

It looks kosher , I would suggest maybe restoring the traits before merging

eg on my pc, the compiler wont accept

[Fact]
[Trait("Category", "avx")]
[FactOnSystemRequirementAttribute(TestSystemRequirements.X64Sse)]

but it will accept

[Trait("Category", "avx")]
[FactOnSystemRequirementAttribute(TestSystemRequirements.X64Sse)]

as otherwise it takes away the ability to filter at runtime from the cli, but other than that its good!

@lemire
Copy link
Member Author

lemire commented May 24, 2024

@Nick-Nuon

as otherwise it takes away the ability to filter at runtime from the cli, but other than that its good!

Please see my new commit which should fix this issue.

Copy link
Collaborator

@Nick-Nuon Nick-Nuon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Merging

@Nick-Nuon Nick-Nuon merged commit 0595946 into avx2_new_algo_and_tests May 24, 2024
1 check 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