jvxgit / AudYoFlo

AudYoFlo repository for media processing in real-time
GNU General Public License v3.0
2 stars 2 forks source link

cmake: add new option to enable AVX instructions: JVX_USE_AVX #10

Closed flo-at closed 4 months ago

flo-at commented 4 months ago

This adds a new cmake option JVX_USE_AVX to allow the compiler to use AVX, AVX2 and AVX-512 instructions when these are supported by the host architecture. To detect this, cmake tries to compile and run code that uses these instructions.