aboutsummaryrefslogtreecommitdiff
path: root/pplx_embed_cuda.h
diff options
context:
space:
mode:
authorOnur Gündüz <ogunduz@gmail.com>2026-06-08 17:57:20 +0200
committerOnur Gündüz <ogunduz@gmail.com>2026-06-14 08:27:03 +0200
commitd9e4761f63d5e6a6c08aab9e1d104b4a11ebdc8f (patch)
treee007eff496ba92ca8a62890ea4843bd793341be3 /pplx_embed_cuda.h
parent884ef3007382451de2cb8801d33f7d0efc05f5b6 (diff)
downloadffwd-d9e4761f63d5e6a6c08aab9e1d104b4a11ebdc8f.tar.gz
ffwd-d9e4761f63d5e6a6c08aab9e1d104b4a11ebdc8f.zip
cuda: add server contextual path
Diffstat (limited to 'pplx_embed_cuda.h')
-rw-r--r--pplx_embed_cuda.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pplx_embed_cuda.h b/pplx_embed_cuda.h
index af90230..ec57c8e 100644
--- a/pplx_embed_cuda.h
+++ b/pplx_embed_cuda.h
@@ -20,5 +20,8 @@ float *pplx_cuda_embed(pplx_cuda_ctx_t *ctx, const int *token_ids,
int n_tokens);
int pplx_cuda_embed_batch(pplx_cuda_ctx_t *ctx, const pplx_input_t *inputs,
int batch, float *out_embeddings);
+int pplx_cuda_embed_spans_batch(pplx_cuda_ctx_t *ctx,
+ const pplx_context_input_t *inputs,
+ int batch, float *out_embeddings);
#endif /* PPLX_EMBED_CUDA_H */