moe_fused_iq: #2145's host_astages() also for HIP (the shared launch() calls it; the HIP build of #2145 as submitted did not compile)

This commit is contained in:
Niko1221 committed 2026-10-15 08:53:39 +02:00
1 parent 285e90aee2
commit bcef7b7818
1 file changed
+3
+3
View File
@@ -1187,6 +1187,9 @@ bool d_covered(int t) {
;
}
#if defined(__HIPCC__)
int host_astages() { return ASTAGES; } // (#2145 defines it for CUDA above; HIP keeps the one depth)
#endif
template <int T, bool GU>
void launch(int ww, unsigned grid, const Batch& b, const NativeGeom& g, const Tables& tb, const void* act,
const int32_t* src, void* out, float* dm, cudaStream_t s) {