SDL_GetCPUCacheLineSize3
Determine the l1 cache line size of the cpu.
Usage
#include "SDL3/SDL.h"
int SDL_GetCPUCacheLineSize(void);
Header file
Defined in SDL3/SDL_cpuinfo.h
Overview
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.