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

is there any implemtion with avx2 my cpu doesnt support it :( #19

Open
koftrciali opened this issue Apr 23, 2023 · 4 comments
Open

is there any implemtion with avx2 my cpu doesnt support it :( #19

koftrciali opened this issue Apr 23, 2023 · 4 comments

Comments

@koftrciali
Copy link

No description provided.

@duckdoom5
Copy link
Contributor

As the description of the project mentions , you can use a library like simd-everywhere to support other architecture's without the need to modify any code

@TrueWodzu
Copy link

@duckdoom5 Could you be a bit more elaborate how to use simd-everywhere? Do I need to include simd-everywhere header in your library?

@duckdoom5
Copy link
Contributor

duckdoom5 commented Aug 26, 2024

@duckdoom5 Could you be a bit more elaborate how to use simd-everywhere? Do I need to include simd-everywhere header in your library?

Yeah, so what you do is include the simde library in your project, following the guide on their GitHub page. (As mentioned there, make sure to select your preferred architecture(s)).

Then you can use the options they have to replace the calls to simd instructions in this uuid library. The easiest is probably to just put simde_ in front. So it would become simde_my_simd_instruction();

FYI, this isn't my library. I just answered the question

@TrueWodzu
Copy link

@duckdoom5 Thanks

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

No branches or pull requests

3 participants