返回全部动态
llama.cpp b10299 发布:修复 Metal 编译错误
原标题:b10299
AI 摘要
llama.cpp 发布 b10299 版本,修复了 Metal 后端中 kernel_lightning_indexer 因 MSL 矩阵类型缺少默认构造函数而导致的编译错误,改用 POD 数组并转换指针解决。该版本提供了适用于 macOS、Linux、Windows、Android 等多个平台的预编译二进制文件。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
<details open> metal : avoid `threadgroup` matrix array instantiation in kernel_lightning_indexer (#26646) - In MSL, declaring an array of matrix types like `threadgroup half4x4` causes a 'no matching constructor' compilation error because MSL matrix types do not have zero-argument default constructors and threadgroup variables cannot have initializers. - Fix this by declaring a POD `threadgroup half` array instead and casting to `threadgroup half4x4 *` for matrix indexing. Signed-off-by: Ja
发布时间:2026-08-07 15:15
抓取时间:2026-08-07 15:39
来源机构:ggml-org