Files
Strata/engine/include/strata/platform/hip_compat
Niko1221 6520778870 gfx906 build: the HIP compat layer maps the two stream-priority CUDA names (#6246, also #5233, #3986, #4766)
From PR #6246 (shjszwh; its commit 6407cc70b), author kept. The gfx906 source build (-DSTRATA_HIP_GFX906=ON)
stopped in dflash2.cpp and verify.cpp ("use of undeclared identifier cudaDeviceGetStreamPriorityRange" and
cudaStreamCreateWithPriority): strata_hip.h had no alias for either name. It now maps both to their hip
functions, next to the other cuda-to-hip device and stream names. The same gap was reported in #5233, #3986 and
#4766; those three fix it in dflash2.cpp alone (a macro test or a missing guard), which would leave the other callers
(mtp.cpp, verify.cpp) unmapped, so only the compat-layer fix is taken. No effect on a build that already compiled.
2026-11-19 16:19:18 +01:00
..