CK
← Back to C-Kernel-Engine Docs
Doxygen Source Documentation
ck-kernel-prefill.c
Go to the documentation of this file.
1
/*
2
* ck-kernel-prefill.c - Prefill kernel stub for v6.6
3
*
4
* This is a placeholder stub. Actual prefill implementation will be
5
* generated from IR when we enable prefill mode.
6
*/
7
8
#include <stdint.h>
9
#include <stddef.h>
10
11
// Prefill kernel stub - returns 0 (success)
12
int
ck_prefill_forward
(
13
const
void
*weights,
14
const
int32_t *tokens,
15
int
n_tokens,
16
float
*hidden_out,
17
void
*kv_cache,
18
int
kv_pos
19
) {
20
// Prefill not yet implemented - use decode path with loop
21
(void)weights;
22
(void)tokens;
23
(void)n_tokens;
24
(void)hidden_out;
25
(void)kv_cache;
26
(void)kv_pos;
27
return
0;
28
}
ck_prefill_forward
int ck_prefill_forward(const void *weights, const int32_t *tokens, int n_tokens, float *hidden_out, void *kv_cache, int kv_pos)
Definition:
ck-kernel-prefill.c:12
src
v6.6
generated
ck-kernel-prefill.c
Generated by
1.9.1