logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_CACHELINE_SIZE - A guess for the cacheline size used for padding.

Availability

       This macro is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.10                              SDL_CACHELINE_SIZE(3)

Description

       Most  x86 processors have a 64 byte cache line. The 64-bit PowerPC processors have a 128 byte cache line.
       We use the larger value to be generally safe.

Header File

       Defined in SDL3/SDL_cpuinfo.h

Name

       SDL_CACHELINE_SIZE - A guess for the cacheline size used for padding.

Synopsis

#include"SDL3/SDL.h"#defineSDL_CACHELINE_SIZE128

See Also