← Back to C-Kernel-Engine Docs Doxygen Source Documentation
Loading...
Searching...
No Matches
ckernel_indexed_sum_rows_checked.h
Go to the documentation of this file.
1#ifndef CKERNEL_INDEXED_SUM_ROWS_CHECKED_H
2#define CKERNEL_INDEXED_SUM_ROWS_CHECKED_H
3
4#include <stddef.h>
5#include <stdint.h>
6
7/* Each output row sums the selected left and right rows. An index of -1
8 * contributes zero; every output row must select at least one input row. */
10 const float *left, size_t left_elements, size_t left_stride, size_t left_rows,
11 const float *right, size_t right_elements, size_t right_stride, size_t right_rows,
12 const int32_t *left_indices, size_t left_index_elements,
13 const int32_t *right_indices, size_t right_index_elements,
14 float *output, size_t output_elements, size_t output_stride,
15 size_t rows, size_t channels);
16
17#endif
int indexed_sum_rows_checked_f32(const float *left, size_t left_elements, size_t left_stride, size_t left_rows, const float *right, size_t right_elements, size_t right_stride, size_t right_rows, const int32_t *left_indices, size_t left_index_elements, const int32_t *right_indices, size_t right_index_elements, float *output, size_t output_elements, size_t output_stride, size_t rows, size_t channels)
const char * left
Definition true_bpe.h:140
const char const char * right
Definition true_bpe.h:141