Pull requests / #166
#166 build: replace CUDART_INF_F with INFINITY for HIP-only toolchains (fixes #157)
closed · @samuelishida · 0 comments · View on GitHub
Setup & installAMD / HIPNVIDIA / CUDA
Description
`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.
Related on strata.com
Editorial links to help you install, pick models, or read release notes — not part of the upstream thread.