返回全部动态
llama.cpp b11509 修复 CUDA CCCL 版本守卫缺陷
原标题:b11509
AI 摘要
llama.cpp 发布 b11509 版本,修复了 CUDA 后端中 CCCL 版本守卫在重大版本号滚动时失效的问题。原守卫分别比较主次版本号,导致 CCCL 4.x 及以上版本被误判为不满足条件,argsort 静默回退到 init_offsets 路径,造成无警告的性能损失。修复改用 CCCL 打包整数版本号进行单次比较,并在 RTX 4070、CUDA 13.4、CCCL 3.4.3 环境下验证通过。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
<details open> CUDA: fix CCCL version guard breaking on major version rollover (#29453) * CUDA: fix CCCL version guard breaking on major version rollover The guard compared the major and minor components independently: CCCL_MAJOR_VERSION >= 3 && CCCL_MINOR_VERSION >= 1 Minor resets to 0 whenever a new major series is cut, so on CCCL 4.x this evaluates as 4 >= 3 && 0 >= 1, i.e. false. STRIDED_ITERATOR_AVAILABLE stops being defined and argsort silently falls back to the init_offsets path.
发布时间:2026-10-08 23:49
抓取时间:2026-10-09 00:29
来源机构:ggml-org