aboutsummaryrefslogtreecommitdiff
path: root/libffwd/backend_mlx.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/backend_mlx.c
parent0f861b7f3098750ddee4f6570f3be228d1da5320 (diff)
downloadffwd-af55803d0dff9eb692c760c8d486e736c945061d.tar.gz
ffwd-af55803d0dff9eb692c760c8d486e736c945061d.zip
chore: clean up comment formatting and wording
Diffstat (limited to 'libffwd/backend_mlx.c')
-rw-r--r--libffwd/backend_mlx.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/libffwd/backend_mlx.c b/libffwd/backend_mlx.c
index 932e550..841aad1 100644
--- a/libffwd/backend_mlx.c
+++ b/libffwd/backend_mlx.c
@@ -1,7 +1,12 @@
-/* backend_mlx.c - Apple GPU backend (MLX), implements the engine API in ffwd.h.
- * Linked only into Apple Silicon GPU builds. MLX streams are thread-local, so
- * the context is created and destroyed on the inference thread: open only
- * records what to load, activate creates the context, worker_free destroys it. */
+/* Metal backend.
+ * Implements the API in ffwd.h and is linked only into Apple Metal builds.
+ *
+ * MLX streams are thread-local, so the context is created and destroyed on the
+ * inference thread.
+ * open only records what to load; activate creates the context; worker_free
+ * destroys it.
+ */
+
#include "internal.h"
#include "mlx.h"
#include "platform.h"