aboutsummaryrefslogtreecommitdiff
path: root/qwen_kernels.h
diff options
context:
space:
mode:
authorOnur Gündüz <ogunduz@gmail.com>2026-06-11 23:40:01 +0200
committerOnur Gündüz <ogunduz@gmail.com>2026-06-14 08:27:10 +0200
commit978f4f7969190265e127e8a3d704bb173fbd171c (patch)
tree42f3a89e1ecb481ef0e5196a775ea37edb4b98f7 /qwen_kernels.h
parentd9ea2cea7dfa1eb25526a3e9b729beda5ccb006f (diff)
downloadffwd-978f4f7969190265e127e8a3d704bb173fbd171c.tar.gz
ffwd-978f4f7969190265e127e8a3d704bb173fbd171c.zip
chore: rename project
Diffstat (limited to 'qwen_kernels.h')
-rw-r--r--qwen_kernels.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/qwen_kernels.h b/qwen_kernels.h
index 9b8156c..71f77f1 100644
--- a/qwen_kernels.h
+++ b/qwen_kernels.h
@@ -8,13 +8,13 @@
#define QWEN_KERNELS_H
/* Public-API export annotation. The libraries are built with
- * -fvisibility=hidden, so only declarations carrying PPLX_API are exported
+ * -fvisibility=hidden, so only declarations carrying EMBED_API are exported
* from the shared library; everything else stays internal. */
-#ifndef PPLX_API
+#ifndef EMBED_API
#if defined(__GNUC__)
-#define PPLX_API __attribute__((visibility("default")))
+#define EMBED_API __attribute__((visibility("default")))
#else
-#define PPLX_API
+#define EMBED_API
#endif
#endif
@@ -142,12 +142,12 @@ void qwen_apply_rope_neox(float *x, const float *cos_vals, const float *sin_vals
/* Set number of threads for parallel operations (default: 1).
* Creates a persistent thread pool. Call before inference. */
-PPLX_API void qwen_set_threads(int n);
+EMBED_API void qwen_set_threads(int n);
/* Get number of available CPU cores */
-PPLX_API int qwen_get_num_cpus(void);
+EMBED_API int qwen_get_num_cpus(void);
/* Global verbose flag */
-PPLX_API extern int qwen_verbose;
+EMBED_API extern int qwen_verbose;
#endif /* QWEN_KERNELS_H */