aboutsummaryrefslogtreecommitdiff
path: root/libffwd/attn.c
diff options
context:
space:
mode:
authorOnur Gündüz <ogunduz@gmail.com>2026-06-27 00:58:05 +0200
committerOnur Gündüz <ogunduz@gmail.com>2026-06-27 01:03:41 +0200
commitaf55803d0dff9eb692c760c8d486e736c945061d (patch)
tree0875a1112bf98304e445e0544c4309670d6f4769 /libffwd/attn.c
parent0f861b7f3098750ddee4f6570f3be228d1da5320 (diff)
downloadffwd-af55803d0dff9eb692c760c8d486e736c945061d.tar.gz
ffwd-af55803d0dff9eb692c760c8d486e736c945061d.zip
chore: clean up comment formatting and wording
Diffstat (limited to 'libffwd/attn.c')
-rw-r--r--libffwd/attn.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libffwd/attn.c b/libffwd/attn.c
index 6134064..57c665a 100644
--- a/libffwd/attn.c
+++ b/libffwd/attn.c
@@ -1,7 +1,3 @@
-/*
- * attn.c - attention
- */
-
#include "kernels.h"
#include "impl.h"
#include "threadpool.h"
@@ -25,9 +21,7 @@
/* Packed block-diagonal attention: causal (Qwen) and bidirectional (BERT/GTE)
* GQA, each with an online-softmax and a BLAS-GEMM path. */
-/* ========================================================================
- * Attention Operations
- * ======================================================================== */
+/* Attention operations */
float dot_f32(const float *a, const float *b, int n) { return dot_f32_impl(a, b, n); }