---
name: "SDL_CACHELINE_SIZE"
section: "3"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_CACHELINE_SIZE"
---

# SDL\_CACHELINE\_SIZE(3)

A guess for the cacheline size used for padding.

## NAME

SDL\_CACHELINE\_SIZE - A guess for the cacheline size used for padding.

## HEADER FILE

Defined in SDL3/SDL\_cpuinfo.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**#define SDL\_CACHELINE\_SIZE  128**

## 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.

## AVAILABILITY

This macro is available since SDL 3.2.0.
