Back to feed

b9491

Jun 3, 2026
Meta/llama.cppCLIvb9491

Avoid PDL race conditions by disabling restrict when PDL is used (#24030)

  • Removes restrict from PDL kernel headers due to incompatibility with PDL. Adds preprocessor directives based on arch in kernel body to add restrict to retain performance on older architectures.

  • Simplifies new restrict usage via macro

  • Add hopper to PDL restrict fix.

Co-authored-by: Oliver Simons osimons@nvidia.com


Co-authored-by: Oliver Simons osimons@nvidia.com

macOS/iOS:

Linux:

Android:

Windows:

openEuler:

  • DISABLED
  • openEuler x86 (310p)
  • openEuler x86 (910b, ACL Graph)
  • openEuler aarch64 (310p)
  • openEuler aarch64 (910b, ACL Graph)

UI: