#include "bf16_utils.h"Go to the source code of this file.
Functions | |
| int | ck_relative_position_terms_bf16_checked (const uint16_t *query, const uint16_t *height_table, const uint16_t *width_table, uint16_t *terms, size_t query_elements, size_t height_elements, size_t width_elements, size_t term_elements, size_t planes, size_t height, size_t width, size_t channels) |
| static int | finite_bf16 (const uint16_t *p, size_t n) |
| static int | overlaps (const uint16_t *a, size_t na, const uint16_t *b, size_t nb) |
| static uint16_t | relative_dot (const uint16_t *q, const uint16_t *table, size_t channels) |
| static int | valid (const uint16_t *p, size_t n) |
| int ck_relative_position_terms_bf16_checked | ( | const uint16_t * | query, |
| const uint16_t * | height_table, | ||
| const uint16_t * | width_table, | ||
| uint16_t * | terms, | ||
| size_t | query_elements, | ||
| size_t | height_elements, | ||
| size_t | width_elements, | ||
| size_t | term_elements, | ||
| size_t | planes, | ||
| size_t | height, | ||
| size_t | width, | ||
| size_t | channels ) |
Definition at line 31 of file relative_position_terms_bf16_checked.c.
References finite_bf16(), overlaps(), relative_dot(), and valid().
|
static |
Definition at line 15 of file relative_position_terms_bf16_checked.c.
Referenced by ck_linear_rows_bias_bf16_avx2_panel_checked(), and ck_relative_position_terms_bf16_checked().
|
static |
Definition at line 9 of file relative_position_terms_bf16_checked.c.
Referenced by ck_relative_position_terms_bf16_checked().
|
static |
Definition at line 23 of file relative_position_terms_bf16_checked.c.
References bf16_to_float(), and float_to_bf16().
Referenced by ck_relative_position_terms_bf16_checked().
|
static |
Definition at line 3 of file relative_position_terms_bf16_checked.c.
Referenced by ck_relative_position_terms_bf16_checked().