Skip to content

Conversation

@serge-sans-paille
Copy link
Contributor

Update supported architecture and make various usage scenario more explicit.

Fix #1202

@serge-sans-paille
Copy link
Contributor Author

cc @Jaegermeiste

README.md Outdated
### Auto detection of the instruction set extension to be used

The same computation operating on vectors and using the most performant instruction set available:
The same computation operating on vectors and using the most performant instruction set available at compile time, absed on the provided compiler flags (e.g. ``-mavx2`` for GCC and Clang to target AVX2):
Copy link
Contributor

Choose a reason for hiding this comment

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

we could add a reference to this and maybe suggest the arch levels to the user?

Copy link
Contributor

Choose a reason for hiding this comment

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

I provide an example here: https://github.com/DiamonDinoia/random

Update supported architecture and make various usage scenario more
explicit.

Fix #1202
@serge-sans-paille
Copy link
Contributor Author

serge-sans-paille commented Nov 16, 2025 via email

@DiamonDinoia
Copy link
Contributor

we could add a reference to [2]this and maybe suggest the arch levels to the user?
I'm not sure about that: we're ine README, and I assume people should know stuff about SIMD when using xsimd. One thing we could do is point at an academic lesson on SIMD (in addition to the wikipedia page I've already added).

I agree, maybe in the dynamic dispatch page we can mention this.

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.

[Documentation] ELI5 the interaction between Compiler settings and how Xsimd leverages runtime architecture detection

3 participants