aboutsummaryrefslogtreecommitdiff
path: root/libffwd/rope.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/rope.c
parent0f861b7f3098750ddee4f6570f3be228d1da5320 (diff)
downloadffwd-af55803d0dff9eb692c760c8d486e736c945061d.tar.gz
ffwd-af55803d0dff9eb692c760c8d486e736c945061d.zip
chore: clean up comment formatting and wording
Diffstat (limited to 'libffwd/rope.c')
-rw-r--r--libffwd/rope.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/libffwd/rope.c b/libffwd/rope.c
index 12057b2..29cbb17 100644
--- a/libffwd/rope.c
+++ b/libffwd/rope.c
@@ -1,5 +1,5 @@
/*
- * rope.c - rotary position embeddings
+ * Rotary position embeddings: cache-free NeoX-style RoPE compute and apply.
*/
#include "kernels.h"
@@ -29,11 +29,7 @@
# define M_PI 3.14159265358979323846
#endif
-/* Rotary position embeddings: cache-free NeoX-style RoPE compute and apply. */
-
-/* ========================================================================
- * Position Embeddings
- * ======================================================================== */
+/* Position embeddings */
void compute_rope_neox(
float *cos_out, float *sin_out, const int *positions, int seq, int head_dim, float theta) {