aboutsummaryrefslogtreecommitdiff
path: root/src/cuda.cu
diff options
context:
space:
mode:
authorOnur Gündüz <ogunduz@gmail.com>2026-06-16 16:27:47 +0200
committerOnur Gündüz <ogunduz@gmail.com>2026-06-16 16:27:47 +0200
commitd1ba1ebc06ef0d62ca932388fae83e6992594719 (patch)
treef962207b779016593258f990348216999a58766a /src/cuda.cu
parentbe20dfda0f836808dccfc14db244592e41ba28bc (diff)
downloadffwd-d1ba1ebc06ef0d62ca932388fae83e6992594719.tar.gz
ffwd-d1ba1ebc06ef0d62ca932388fae83e6992594719.zip
chore: move sources to src/ with proper names, drop qwen_ prefix
Diffstat (limited to '')
-rw-r--r--src/cuda.cu (renamed from embed_cuda.cu)6
1 files changed, 3 insertions, 3 deletions
diff --git a/embed_cuda.cu b/src/cuda.cu
index 9464caa..6ce7dfb 100644
--- a/embed_cuda.cu
+++ b/src/cuda.cu
@@ -1,6 +1,6 @@
extern "C" {
-#include "embed_cuda.h"
-#include "embed_internal.h"
+#include "cuda.h"
+#include "internal.h"
}
#include <cuda_runtime.h>
@@ -669,7 +669,7 @@ __global__ static void span_pool_kernel(
// BERT LayerNorm: mean-subtract, biased variance (/dim), scale by gamma, shift
// by beta. One block per row, two block reductions before any write, so it is
-// safe in place (out == x). Matches the CPU qwen_layer_norm.
+// safe in place (out == x). Matches the CPU embed_layer_norm.
__global__ static void layer_norm_kernel(float *out,
const float *x,
const float *gamma,