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

Function ggml_vec_set_i16

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

Source from the content-addressed store, hash-verified

1132inline static void ggml_vec_set_i8(const int n, int8_t * x, const int8_t v) { for (int i = 0; i < n; ++i) x[i] = v; }
1133
1134inline static void ggml_vec_set_i16(const int n, int16_t * x, const int16_t v) { for (int i = 0; i < n; ++i) x[i] = v; }
1135
1136inline static void ggml_vec_set_i32(const int n, int32_t * x, const int32_t v) { for (int i = 0; i < n; ++i) x[i] = v; }
1137

Callers 2

ggml_set_i32Function · 0.70
ggml_set_f32Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected