SDL_GetCPUCacheLineSize - Man Page
Determine the L1 cache line size of the CPU.
Header File
Defined in SDL3/SDL_cpuinfo.h
Synopsis
#include "SDL3/SDL.h" int SDL_GetCPUCacheLineSize(void);
Description
This is useful for determining multi-threaded structure padding or SIMD prefetch sizes.
Return Value
Returns the L1 cache line size of the CPU, in bytes.
Thread Safety
It is safe to call this function from any thread.
Availability
This function is available since SDL 3.2.0.
Info
SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS