mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-30 21:34:36 +00:00
ggml : restore 'static' specifiers
This commit is contained in:
parent
f7cb0a65ef
commit
c8fd4ba846
32
ggml.c
32
ggml.c
@ -7104,7 +7104,7 @@ static void ggml_compute_forward_add_q_f32(
|
||||
}
|
||||
}
|
||||
|
||||
void ggml_compute_forward_add(
|
||||
static void ggml_compute_forward_add(
|
||||
const struct ggml_compute_params * params,
|
||||
const struct ggml_tensor * src0,
|
||||
const struct ggml_tensor * src1,
|
||||
@ -7682,7 +7682,7 @@ static void ggml_compute_forward_mul_f32(
|
||||
}
|
||||
}
|
||||
|
||||
void ggml_compute_forward_mul(
|
||||
static void ggml_compute_forward_mul(
|
||||
const struct ggml_compute_params * params,
|
||||
const struct ggml_tensor * src0,
|
||||
const struct ggml_tensor * src1,
|
||||
@ -8653,7 +8653,7 @@ static void ggml_compute_forward_elu(
|
||||
|
||||
// ggml_compute_forward_relu
|
||||
|
||||
void ggml_compute_forward_relu_f32(
|
||||
static void ggml_compute_forward_relu_f32(
|
||||
const struct ggml_compute_params * params,
|
||||
const struct ggml_tensor * src0,
|
||||
struct ggml_tensor * dst) {
|
||||
@ -8677,7 +8677,7 @@ void ggml_compute_forward_relu_f32(
|
||||
}
|
||||
}
|
||||
|
||||
void ggml_compute_forward_relu(
|
||||
static void ggml_compute_forward_relu(
|
||||
const struct ggml_compute_params * params,
|
||||
const struct ggml_tensor * src0,
|
||||
struct ggml_tensor * dst) {
|
||||
@ -8695,7 +8695,7 @@ void ggml_compute_forward_relu(
|
||||
|
||||
// ggml_compute_forward_gelu
|
||||
|
||||
void ggml_compute_forward_gelu_f32(
|
||||
static void ggml_compute_forward_gelu_f32(
|
||||
const struct ggml_compute_params * params,
|
||||
const struct ggml_tensor * src0,
|
||||
struct ggml_tensor * dst) {
|
||||
@ -8736,7 +8736,7 @@ void ggml_compute_forward_gelu_f32(
|
||||
}
|
||||
}
|
||||
|
||||
void ggml_compute_forward_gelu(
|
||||
static void ggml_compute_forward_gelu(
|
||||
const struct ggml_compute_params * params,
|
||||
const struct ggml_tensor * src0,
|
||||
struct ggml_tensor * dst) {
|
||||
@ -8813,7 +8813,7 @@ static void ggml_compute_forward_gelu_quick(
|
||||
|
||||
// ggml_compute_forward_silu
|
||||
|
||||
void ggml_compute_forward_silu_f32(
|
||||
static void ggml_compute_forward_silu_f32(
|
||||
const struct ggml_compute_params * params,
|
||||
const struct ggml_tensor * src0,
|
||||
struct ggml_tensor * dst) {
|
||||
@ -8854,7 +8854,7 @@ void ggml_compute_forward_silu_f32(
|
||||
}
|
||||
}
|
||||
|
||||
void ggml_compute_forward_silu(
|
||||
static void ggml_compute_forward_silu(
|
||||
const struct ggml_compute_params * params,
|
||||
const struct ggml_tensor * src0,
|
||||
struct ggml_tensor * dst) {
|
||||
@ -9029,7 +9029,7 @@ static void ggml_compute_forward_norm_f32(
|
||||
}
|
||||
}
|
||||
|
||||
void ggml_compute_forward_norm(
|
||||
static void ggml_compute_forward_norm(
|
||||
const struct ggml_compute_params * params,
|
||||
const struct ggml_tensor * src0,
|
||||
struct ggml_tensor * dst) {
|
||||
@ -9095,7 +9095,7 @@ static void ggml_compute_forward_rms_norm_f32(
|
||||
}
|
||||
}
|
||||
|
||||
void ggml_compute_forward_rms_norm(
|
||||
static void ggml_compute_forward_rms_norm(
|
||||
const struct ggml_compute_params * params,
|
||||
const struct ggml_tensor * src0,
|
||||
struct ggml_tensor * dst) {
|
||||
@ -9999,7 +9999,7 @@ static void ggml_compute_forward_scale_f32(
|
||||
}
|
||||
}
|
||||
|
||||
void ggml_compute_forward_scale(
|
||||
static void ggml_compute_forward_scale(
|
||||
const struct ggml_compute_params * params,
|
||||
const struct ggml_tensor * src0,
|
||||
const struct ggml_tensor * src1,
|
||||
@ -10120,7 +10120,7 @@ static void ggml_compute_forward_set(
|
||||
|
||||
// ggml_compute_forward_cpy
|
||||
|
||||
void ggml_compute_forward_cpy(
|
||||
static void ggml_compute_forward_cpy(
|
||||
const struct ggml_compute_params * params,
|
||||
const struct ggml_tensor * src0,
|
||||
struct ggml_tensor * dst) {
|
||||
@ -10264,7 +10264,7 @@ static void ggml_compute_forward_get_rows_f32(
|
||||
}
|
||||
}
|
||||
|
||||
void ggml_compute_forward_get_rows(
|
||||
static void ggml_compute_forward_get_rows(
|
||||
const struct ggml_compute_params * params,
|
||||
const struct ggml_tensor * src0,
|
||||
const struct ggml_tensor * src1,
|
||||
@ -10536,7 +10536,7 @@ static void ggml_compute_forward_diag_mask_f32(
|
||||
}
|
||||
}
|
||||
|
||||
void ggml_compute_forward_diag_mask_inf(
|
||||
static void ggml_compute_forward_diag_mask_inf(
|
||||
const struct ggml_compute_params * params,
|
||||
const struct ggml_tensor * src0,
|
||||
struct ggml_tensor * dst) {
|
||||
@ -10570,7 +10570,7 @@ static void ggml_compute_forward_diag_mask_zero(
|
||||
|
||||
// ggml_compute_forward_soft_max
|
||||
|
||||
void ggml_compute_forward_soft_max_f32(
|
||||
static void ggml_compute_forward_soft_max_f32(
|
||||
const struct ggml_compute_params * params,
|
||||
const struct ggml_tensor * src0,
|
||||
const struct ggml_tensor * src1,
|
||||
@ -11359,7 +11359,7 @@ static void ggml_compute_forward_rope_f16(
|
||||
}
|
||||
}
|
||||
|
||||
void ggml_compute_forward_rope(
|
||||
static void ggml_compute_forward_rope(
|
||||
const struct ggml_compute_params * params,
|
||||
const struct ggml_tensor * src0,
|
||||
const struct ggml_tensor * src1,
|
||||
|
Loading…
Reference in New Issue
Block a user