#include <stddef.h>#include <stdint.h>#include <string.h>Go to the source code of this file.
Functions | |
| int | ck_window_qkv_split_bf16_checked (const uint16_t *packed, uint16_t *query, uint16_t *key, uint16_t *value, size_t packed_elements, size_t plane_elements, size_t windows, size_t tokens, size_t heads, size_t channels) |
| static int | overlaps (const uint16_t *a, size_t na, const uint16_t *b, size_t nb) |
| static int | valid (const uint16_t *p, size_t bytes) |
| int ck_window_qkv_split_bf16_checked | ( | const uint16_t * | packed, |
| uint16_t * | query, | ||
| uint16_t * | key, | ||
| uint16_t * | value, | ||
| size_t | packed_elements, | ||
| size_t | plane_elements, | ||
| size_t | windows, | ||
| size_t | tokens, | ||
| size_t | heads, | ||
| size_t | channels ) |
Definition at line 15 of file window_qkv_split_checked.c.
References overlaps(), and valid().
|
static |
Definition at line 10 of file window_qkv_split_checked.c.
Referenced by ck_window_qkv_split_bf16_checked().
|
static |
Definition at line 5 of file window_qkv_split_checked.c.
Referenced by ck_window_qkv_split_bf16_checked().