#include "checked_float_buffer.h"#include "checked_parallel.h"#include "packed_q8_dot_ordered.h"#include "packed_q8_activation_checked.h"#include <stdatomic.h>#include <string.h>Go to the source code of this file.
Functions | |
| static int | linear_rows_q8_0_checked (const float *input, size_t input_elements, const void *weight, size_t weight_bytes, float *output, size_t output_elements, size_t rows, size_t width, size_t channels, unsigned char *activation, size_t activation_bytes) |
| int | linear_rows_q8_0_checked_f32 (const float *input, size_t input_elements, const void *weight, size_t weight_bytes, float *output, size_t output_elements, size_t rows, size_t width, size_t channels) |
| int | linear_rows_q8_0_checked_q8_activation (const float *input, size_t input_elements, const void *weight, size_t weight_bytes, float *output, size_t output_elements, size_t rows, size_t width, size_t channels, unsigned char *activation, size_t activation_bytes) |
| static void | q8_projection_dot (size_t begin, size_t end, void *opaque) |
|
static |
Definition at line 39 of file linear_rows_q8_0_checked.c.
References ck_checked_finite(), ck_checked_overlap(), ck_checked_parallel_for(), ck_checked_region(), ck_checked_span(), ck_pack_q8_activation_rne(), ck_packed_q8_dot_ordered(), ck_q8_activation_dot(), dot(), publish(), q8_projection_dot(), and QK8_0.
Referenced by linear_rows_q8_0_checked_f32(), and linear_rows_q8_0_checked_q8_activation().
| int linear_rows_q8_0_checked_f32 | ( | const float * | input, |
| size_t | input_elements, | ||
| const void * | weight, | ||
| size_t | weight_bytes, | ||
| float * | output, | ||
| size_t | output_elements, | ||
| size_t | rows, | ||
| size_t | width, | ||
| size_t | channels ) |
Definition at line 110 of file linear_rows_q8_0_checked.c.
References linear_rows_q8_0_checked().
| int linear_rows_q8_0_checked_q8_activation | ( | const float * | input, |
| size_t | input_elements, | ||
| const void * | weight, | ||
| size_t | weight_bytes, | ||
| float * | output, | ||
| size_t | output_elements, | ||
| size_t | rows, | ||
| size_t | width, | ||
| size_t | channels, | ||
| unsigned char * | activation, | ||
| size_t | activation_bytes ) |
Definition at line 119 of file linear_rows_q8_0_checked.c.
References linear_rows_q8_0_checked().
|
static |
Definition at line 16 of file linear_rows_q8_0_checked.c.
References ck_q8_activation_dot(), count, dot(), and end.
Referenced by linear_rows_q8_0_checked().