From 2c2cb685c5bf6fc0035003f42d0216c98dfe501d Mon Sep 17 00:00:00 2001 From: zhangyue Date: Fri, 10 Apr 2026 21:14:04 +0800 Subject: [PATCH] fix(cuda): add missing `runtime_utils.h` include in `CausalSoftmax` `RuntimeUtils` is used but never included; compilation fails when the header is reached before another TU pulls in the declaration. --- src/cuda/causal_softmax/kernel.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cuda/causal_softmax/kernel.h b/src/cuda/causal_softmax/kernel.h index 7c7ac87..cffa071 100644 --- a/src/cuda/causal_softmax/kernel.h +++ b/src/cuda/causal_softmax/kernel.h @@ -7,6 +7,7 @@ #include "base/causal_softmax.h" #include "cuda/causal_softmax/kernel.cuh" #include "cuda/kernel_commons.cuh" +#include "cuda/runtime_utils.h" #include "data_type.h" #include "dispatcher.h"