mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-04 23:38:47 +00:00
A function-like macro splits its arguments on the commas inside a template argument list, so cudaFuncSetAttribute(kernel<1, 6, true>, ...) failed to compile (fused_gr.cu:1089-1093, 'too many arguments provided to function-like macro invocation'). Restore the template function 0.1.38's hip_compat/ cuda_runtime.h had, and add the two carveout definitions used beside it. gfx906-only: include/strata/platform/hip_compat/ is on the include path only inside if(STRATA_HIP_GFX906); CUDA and the wave32 RDNA backend are untouched.