Nomic vulkan backend licensed under the Software for Open Models License (SOM), version 1.0.
This commit is contained in:
parent
acfc5478ff
commit
4cdaa3c9cb
97 changed files with 13550 additions and 26 deletions
32
ggml.c
32
ggml.c
|
@ -8552,7 +8552,7 @@ static void ggml_compute_forward_add_q_f32(
|
|||
}
|
||||
}
|
||||
|
||||
static void ggml_compute_forward_add(
|
||||
void ggml_compute_forward_add(
|
||||
const struct ggml_compute_params * params,
|
||||
const struct ggml_tensor * src0,
|
||||
const struct ggml_tensor * src1,
|
||||
|
@ -9132,7 +9132,7 @@ static void ggml_compute_forward_mul_f32(
|
|||
}
|
||||
}
|
||||
|
||||
static void ggml_compute_forward_mul(
|
||||
void ggml_compute_forward_mul(
|
||||
const struct ggml_compute_params * params,
|
||||
const struct ggml_tensor * src0,
|
||||
const struct ggml_tensor * src1,
|
||||
|
@ -9985,7 +9985,7 @@ static void ggml_compute_forward_elu(
|
|||
|
||||
// ggml_compute_forward_relu
|
||||
|
||||
static void ggml_compute_forward_relu_f32(
|
||||
void ggml_compute_forward_relu_f32(
|
||||
const struct ggml_compute_params * params,
|
||||
const struct ggml_tensor * src0,
|
||||
struct ggml_tensor * dst) {
|
||||
|
@ -10009,7 +10009,7 @@ static void ggml_compute_forward_relu_f32(
|
|||
}
|
||||
}
|
||||
|
||||
static void ggml_compute_forward_relu(
|
||||
void ggml_compute_forward_relu(
|
||||
const struct ggml_compute_params * params,
|
||||
const struct ggml_tensor * src0,
|
||||
struct ggml_tensor * dst) {
|
||||
|
@ -10027,7 +10027,7 @@ static void ggml_compute_forward_relu(
|
|||
|
||||
// ggml_compute_forward_gelu
|
||||
|
||||
static void ggml_compute_forward_gelu_f32(
|
||||
void ggml_compute_forward_gelu_f32(
|
||||
const struct ggml_compute_params * params,
|
||||
const struct ggml_tensor * src0,
|
||||
struct ggml_tensor * dst) {
|
||||
|
@ -10068,7 +10068,7 @@ static void ggml_compute_forward_gelu_f32(
|
|||
}
|
||||
}
|
||||
|
||||
static void ggml_compute_forward_gelu(
|
||||
void ggml_compute_forward_gelu(
|
||||
const struct ggml_compute_params * params,
|
||||
const struct ggml_tensor * src0,
|
||||
struct ggml_tensor * dst) {
|
||||
|
@ -10145,7 +10145,7 @@ static void ggml_compute_forward_gelu_quick(
|
|||
|
||||
// ggml_compute_forward_silu
|
||||
|
||||
static void ggml_compute_forward_silu_f32(
|
||||
void ggml_compute_forward_silu_f32(
|
||||
const struct ggml_compute_params * params,
|
||||
const struct ggml_tensor * src0,
|
||||
struct ggml_tensor * dst) {
|
||||
|
@ -10186,7 +10186,7 @@ static void ggml_compute_forward_silu_f32(
|
|||
}
|
||||
}
|
||||
|
||||
static void ggml_compute_forward_silu(
|
||||
void ggml_compute_forward_silu(
|
||||
const struct ggml_compute_params * params,
|
||||
const struct ggml_tensor * src0,
|
||||
struct ggml_tensor * dst) {
|
||||
|
@ -10318,7 +10318,7 @@ static void ggml_compute_forward_norm_f32(
|
|||
}
|
||||
}
|
||||
|
||||
static void ggml_compute_forward_norm(
|
||||
void ggml_compute_forward_norm(
|
||||
const struct ggml_compute_params * params,
|
||||
const struct ggml_tensor * src0,
|
||||
struct ggml_tensor * dst) {
|
||||
|
@ -10382,7 +10382,7 @@ static void ggml_compute_forward_rms_norm_f32(
|
|||
}
|
||||
}
|
||||
|
||||
static void ggml_compute_forward_rms_norm(
|
||||
void ggml_compute_forward_rms_norm(
|
||||
const struct ggml_compute_params * params,
|
||||
const struct ggml_tensor * src0,
|
||||
struct ggml_tensor * dst) {
|
||||
|
@ -11006,7 +11006,7 @@ static void ggml_compute_forward_scale_f32(
|
|||
}
|
||||
}
|
||||
|
||||
static void ggml_compute_forward_scale(
|
||||
void ggml_compute_forward_scale(
|
||||
const struct ggml_compute_params * params,
|
||||
const struct ggml_tensor * src0,
|
||||
const struct ggml_tensor * src1,
|
||||
|
@ -11127,7 +11127,7 @@ static void ggml_compute_forward_set(
|
|||
|
||||
// ggml_compute_forward_cpy
|
||||
|
||||
static void ggml_compute_forward_cpy(
|
||||
void ggml_compute_forward_cpy(
|
||||
const struct ggml_compute_params * params,
|
||||
const struct ggml_tensor * src0,
|
||||
struct ggml_tensor * dst) {
|
||||
|
@ -11271,7 +11271,7 @@ static void ggml_compute_forward_get_rows_f32(
|
|||
}
|
||||
}
|
||||
|
||||
static void ggml_compute_forward_get_rows(
|
||||
void ggml_compute_forward_get_rows(
|
||||
const struct ggml_compute_params * params,
|
||||
const struct ggml_tensor * src0,
|
||||
const struct ggml_tensor * src1,
|
||||
|
@ -11547,7 +11547,7 @@ static void ggml_compute_forward_diag_mask_f32(
|
|||
}
|
||||
}
|
||||
|
||||
static void ggml_compute_forward_diag_mask_inf(
|
||||
void ggml_compute_forward_diag_mask_inf(
|
||||
const struct ggml_compute_params * params,
|
||||
const struct ggml_tensor * src0,
|
||||
struct ggml_tensor * dst) {
|
||||
|
@ -11581,7 +11581,7 @@ static void ggml_compute_forward_diag_mask_zero(
|
|||
|
||||
// ggml_compute_forward_soft_max
|
||||
|
||||
static void ggml_compute_forward_soft_max_f32(
|
||||
void ggml_compute_forward_soft_max_f32(
|
||||
const struct ggml_compute_params * params,
|
||||
const struct ggml_tensor * src0,
|
||||
struct ggml_tensor * dst) {
|
||||
|
@ -12261,7 +12261,7 @@ static void ggml_compute_forward_rope_f16(
|
|||
}
|
||||
}
|
||||
|
||||
static void ggml_compute_forward_rope(
|
||||
void ggml_compute_forward_rope(
|
||||
const struct ggml_compute_params * params,
|
||||
const struct ggml_tensor * src0,
|
||||
struct ggml_tensor * dst) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue