← Back to C-Kernel-Engine Docs Doxygen Source Documentation
Loading...
Searching...
No Matches
ckernel_decision_tensor_ops.h
Go to the documentation of this file.
1#ifndef CK_DECISION_TENSOR_OPS_H
2#define CK_DECISION_TENSOR_OPS_H
3#include <stddef.h>
4#include <stdint.h>
5
6int 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);
7int 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);
8int 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);
9int ck_indexed_scaled_dot_rows_f32(const float *left, size_t left_elements,
10 const float *right, size_t right_elements, const int32_t *indices, size_t indices_elements,
11 float *output, size_t output_elements, float *scratch, size_t scratch_elements,
12 size_t groups, size_t rows, size_t channels, float scale);
13int ck_scalar_exp_clamped_f32(const float *input, size_t input_elements, float *output, size_t output_elements, float maximum);
14int ck_scalar_sigmoid_f32(const float *input, size_t input_elements, float *output, size_t output_elements);
15int 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);
16int ck_prefix_softmax_rows_f32(const float *logits, size_t logits_elements,
17 const int32_t *counts, size_t count_elements, float *output, size_t output_elements,
18 size_t rows, size_t columns);
19#endif
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_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)
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_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_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_scalar_sigmoid_f32(const float *input, size_t input_elements, float *output, size_t output_elements)
int ck_scalar_exp_clamped_f32(const float *input, size_t input_elements, float *output, size_t output_elements, float maximum)
const char * left
Definition true_bpe.h:140
const char const char * right
Definition true_bpe.h:141