Scroll to navigation

SDL_HasSVE2(3) SDL3 FUNCTIONS SDL_HasSVE2(3)

NAME

SDL_HasSVE2 - Determine whether the CPU has SVE2 (Scalable Vector Extension 2).

SYNOPSIS

#include <SDL3/SDL_cpuinfo.h>
bool SDL_HasSVE2(void);

DESCRIPTION

This is only relevant on ARM64 Linux. On other platforms it always returns false.

RETURN VALUE

Returns true if the CPU has SVE2, false otherwise.

AVAILABILITY

This function is available since SDL 3.6.0.

SDL 3.5.0 Simple Directmedia Layer