MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / ggml_vec_mul_f32

Function ggml_vec_mul_f32

ggml.c:1148–1148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1146inline static void ggml_vec_cpy_f32 (const int n, float * y, const float * x) { for (int i = 0; i < n; ++i) y[i] = x[i]; }
1147inline static void ggml_vec_neg_f32 (const int n, float * y, const float * x) { for (int i = 0; i < n; ++i) y[i] = -x[i]; }
1148inline static void ggml_vec_mul_f32 (const int n, float * z, const float * x, const float * y) { for (int i = 0; i < n; ++i) z[i] = x[i]*y[i]; }
1149inline static void ggml_vec_div_f32 (const int n, float * z, const float * x, const float * y) { for (int i = 0; i < n; ++i) z[i] = x[i]/y[i]; }
1150
1151static void ggml_vec_dot_f32(const int n, float * restrict s, const float * restrict x, const float * restrict y) {

Calls

no outgoing calls

Tested by

no test coverage detected