Pull requests / #166
#166 build: replace CUDART_INF_F with INFINITY for HIP-only toolchains (fixes #157)
closed · @samuelishida · 0 评论 · 在 GitHub 查看
Setup & installAMD / HIPNVIDIA / CUDA
描述
`qsa_prompt_attn.cu` is already refused at runtime on AMD, but it still compiled with the CUDA-only `<math_constants.h>` header for `CUDART_INF_F`. Replace it with the portable `INFINITY` macro from `<cmath>` so the HIP build succeeds without a CUDA toolkit installed. Fixes #157.
站内延伸阅读
链到安装、模型与版本说明,便于 SEO/GEO,非官方 issue 正文。