Go to the source code of this file.
Functions | |
| static int | all_finite (const float *x, size_t n) |
| static int | buffers (const void **inputs, const size_t *sizes, size_t count, float *out, size_t on, float *scratch, size_t sn, size_t needed) |
| int | ck_broadcast_add_rows_f32 (const float *left, size_t left_elements, const float *right, size_t right_elements, float *output, size_t output_elements, float *scratch, size_t scratch_elements, size_t rows, size_t channels) |
| int | ck_indexed_cosine_rows_f32 (const float *left, size_t left_elements, const float *right, size_t right_elements, const int32_t *indices, size_t indices_elements, float *output, size_t output_elements, float *scratch, size_t scratch_elements, size_t groups, size_t rows, size_t channels, float epsilon) |
| int | ck_indexed_pair_features_f32 (const float *left, size_t left_elements, const float *right, size_t right_elements, const int32_t *indices, size_t indices_elements, float *output, size_t output_elements, float *scratch, size_t scratch_elements, size_t groups, size_t rows, size_t channels) |
| int | ck_indexed_scaled_dot_rows_f32 (const float *left, size_t left_elements, const float *right, size_t right_elements, const int32_t *indices, size_t indices_elements, float *output, size_t output_elements, float *scratch, size_t scratch_elements, size_t groups, size_t rows, size_t channels, float scale) |
| int | ck_prefix_softmax_rows_f32 (const float *logits, size_t logits_elements, const int32_t *counts, size_t count_elements, float *output, size_t output_elements, size_t rows, size_t columns) |
| int | ck_scalar_exp_clamped_f32 (const float *input, size_t input_elements, float *output, size_t output_elements, float maximum) |
| int | ck_scalar_sigmoid_f32 (const float *input, size_t input_elements, float *output, size_t output_elements) |
| int | ck_scale_vector_f32 (const float *input, size_t input_elements, const float *gain, size_t gain_elements, float *output, size_t output_elements, float *scratch, size_t scratch_elements, size_t rows) |
| static int | overlap (const void *a, size_t n, const void *b, size_t m) |
| static int | pair_check (const float *left, size_t ln, const float *right, size_t rn, const int32_t *indices, size_t in, float *out, size_t on, float *scratch, size_t sn, size_t groups, size_t rows, size_t channels, size_t need) |
| static int | product (size_t a, size_t b, size_t *n) |
| static int | publish (float *out, float *scratch, size_t n) |
| static int | region (const void *p, size_t n) |
| static int | scalar_check (const float *input, size_t in, float *output, size_t on) |
|
static |
Definition at line 30 of file decision_tensor_ops.c.
Referenced by ck_broadcast_add_rows_f32(), ck_prefix_softmax_rows_f32(), ck_scale_vector_f32(), pair_check(), and publish().
|
static |
Definition at line 20 of file decision_tensor_ops.c.
References count, overlap(), and region().
Referenced by ck_adaptive_rmsnorm_rows_bf16_checked(), ck_broadcast_add_rows_f32(), ck_ir_v2_parse_buffers(), ck_scale_vector_f32(), ck_video_spatial_attention_bf16_checked(), inverse_transform(), pair_check(), and routed_softcapped_experts().
| int ck_broadcast_add_rows_f32 | ( | const float * | left, |
| size_t | left_elements, | ||
| const float * | right, | ||
| size_t | right_elements, | ||
| float * | output, | ||
| size_t | output_elements, | ||
| float * | scratch, | ||
| size_t | scratch_elements, | ||
| size_t | rows, | ||
| size_t | channels ) |
Definition at line 38 of file decision_tensor_ops.c.
References all_finite(), buffers(), left, product(), publish(), and right.
| int ck_indexed_cosine_rows_f32 | ( | const float * | left, |
| size_t | left_elements, | ||
| const float * | right, | ||
| size_t | right_elements, | ||
| const int32_t * | indices, | ||
| size_t | indices_elements, | ||
| float * | output, | ||
| size_t | output_elements, | ||
| float * | scratch, | ||
| size_t | scratch_elements, | ||
| size_t | groups, | ||
| size_t | rows, | ||
| size_t | channels, | ||
| float | epsilon ) |
Definition at line 76 of file decision_tensor_ops.c.
References left, pair_check(), publish(), and right.
| int ck_indexed_pair_features_f32 | ( | const float * | left, |
| size_t | left_elements, | ||
| const float * | right, | ||
| size_t | right_elements, | ||
| const int32_t * | indices, | ||
| size_t | indices_elements, | ||
| float * | output, | ||
| size_t | output_elements, | ||
| float * | scratch, | ||
| size_t | scratch_elements, | ||
| size_t | groups, | ||
| size_t | rows, | ||
| size_t | channels ) |
Definition at line 60 of file decision_tensor_ops.c.
References left, pair_check(), product(), publish(), and right.
| int ck_indexed_scaled_dot_rows_f32 | ( | const float * | left, |
| size_t | left_elements, | ||
| const float * | right, | ||
| size_t | right_elements, | ||
| const int32_t * | indices, | ||
| size_t | indices_elements, | ||
| float * | output, | ||
| size_t | output_elements, | ||
| float * | scratch, | ||
| size_t | scratch_elements, | ||
| size_t | groups, | ||
| size_t | rows, | ||
| size_t | channels, | ||
| float | scale ) |
Definition at line 103 of file decision_tensor_ops.c.
References left, pair_check(), publish(), and right.
| int ck_prefix_softmax_rows_f32 | ( | const float * | logits, |
| size_t | logits_elements, | ||
| const int32_t * | counts, | ||
| size_t | count_elements, | ||
| float * | output, | ||
| size_t | output_elements, | ||
| size_t | rows, | ||
| size_t | columns ) |
Definition at line 150 of file decision_tensor_ops.c.
References all_finite(), overlap(), product(), and region().
| int ck_scalar_exp_clamped_f32 | ( | const float * | input, |
| size_t | input_elements, | ||
| float * | output, | ||
| size_t | output_elements, | ||
| float | maximum ) |
Definition at line 125 of file decision_tensor_ops.c.
References scalar_check().
| int ck_scalar_sigmoid_f32 | ( | const float * | input, |
| size_t | input_elements, | ||
| float * | output, | ||
| size_t | output_elements ) |
Definition at line 132 of file decision_tensor_ops.c.
References scalar_check().
| int ck_scale_vector_f32 | ( | const float * | input, |
| size_t | input_elements, | ||
| const float * | gain, | ||
| size_t | gain_elements, | ||
| float * | output, | ||
| size_t | output_elements, | ||
| float * | scratch, | ||
| size_t | scratch_elements, | ||
| size_t | rows ) |
Definition at line 139 of file decision_tensor_ops.c.
References all_finite(), buffers(), and publish().
|
static |
Definition at line 11 of file decision_tensor_ops.c.
Referenced by audio_istft_mag_phase_f32(), buffers(), ck_prefix_softmax_rows_f32(), geglu_forward_ggml_native(), and scalar_check().
|
static |
Definition at line 49 of file decision_tensor_ops.c.
References all_finite(), buffers(), left, product(), and right.
Referenced by ck_indexed_cosine_rows_f32(), ck_indexed_pair_features_f32(), and ck_indexed_scaled_dot_rows_f32().
|
static |
Definition at line 15 of file decision_tensor_ops.c.
Referenced by ck_broadcast_add_rows_f32(), ck_indexed_pair_features_f32(), ck_prefix_softmax_rows_f32(), and pair_check().
|
static |
Definition at line 34 of file decision_tensor_ops.c.
References all_finite().
Referenced by ck_broadcast_add_rows_f32(), ck_indexed_cosine_rows_f32(), ck_indexed_pair_features_f32(), ck_indexed_scaled_dot_rows_f32(), and ck_scale_vector_f32().
|
static |
Definition at line 7 of file decision_tensor_ops.c.
Referenced by buffers(), ck_generate_diffusion_block(), ck_generate_seeded_diffusion(), ck_linear_rows_bias_bf16_avx2_panel_checked(), ck_prefix_softmax_rows_f32(), encode_clean(), region_valid(), scalar_check(), and valid_session().
|
static |
Definition at line 122 of file decision_tensor_ops.c.
References overlap(), and region().
Referenced by ck_scalar_exp_clamped_f32(), and ck_scalar_sigmoid_f32().