ggml : sync with ggml repo (warning fixes + asserts)

This commit is contained in:
Georgi Gerganov
2023-04-29 19:30:22 +03:00
parent 6108d3cc58
commit 05c3ea3bc8
2 changed files with 17 additions and 11 deletions

4
ggml.h
View File

@@ -701,8 +701,8 @@ extern "C" {
struct ggml_tensor * c1);
// Mapping operations
GGML_API typedef void (*ggml_unary_op_f32_t)(const int, float *, const float *);
GGML_API typedef void (*ggml_binary_op_f32_t)(const int, float *, const float *, const float *);
typedef void (*ggml_unary_op_f32_t)(const int, float *, const float *);
typedef void (*ggml_binary_op_f32_t)(const int, float *, const float *, const float *);
GGML_API struct ggml_tensor * ggml_map_unary_f32(
struct ggml_context * ctx,