uuid_v4
uuid_v4 copied to clipboard
is there any implemtion with avx2 my cpu doesnt support it :(
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
@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 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
@duckdoom5 Thanks