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

Function ggml_vec_set_i8

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

Source from the content-addressed store, hash-verified

1130//
1131
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

Callers 2

ggml_set_i32Function · 0.70
ggml_set_f32Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected