uuid_v4 icon indicating copy to clipboard operation
uuid_v4 copied to clipboard

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

Open koftrciali opened this issue 1 year ago • 4 comments

koftrciali avatar Apr 23 '23 10:04 koftrciali

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 avatar Jul 17 '23 08:07 duckdoom5

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

TrueWodzu avatar Aug 26 '24 07:08 TrueWodzu

@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 avatar Aug 26 '24 07:08 duckdoom5

@duckdoom5 Thanks

TrueWodzu avatar Sep 03 '24 18:09 TrueWodzu