Determine whether the CPU has AVX2 features.
Defined in <SDL3/SDL_cpuinfo.h>
bool SDL_HasAVX2(void);
(bool) Returns true if the CPU has AVX2 features or false if not.
This always returns false on CPUs that aren't using Intel instruction sets.
It is safe to call this function from any thread.
This function is available since SDL 3.1.3.