sdlHasAvx512F function
Determine whether the CPU has AVX-512F (foundation) features.
This always returns false on CPUs that aren't using Intel instruction sets.
\returns true if the CPU has AVX-512F features or false if not.
\threadsafety It is safe to call this function from any thread.
\since This function is available since SDL 3.1.3.
\sa SDL_HasAVX \sa SDL_HasAVX2
extern SDL_DECLSPEC bool SDLCALL SDL_HasAVX512F(void)
Implementation
bool sdlHasAvx512F() {
final sdlHasAvx512FLookupFunction = libSdl3
.lookupFunction<Uint8 Function(), int Function()>('SDL_HasAVX512F');
return sdlHasAvx512FLookupFunction() == 1;
}