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

Function ggml_compute_forward_map_custom2

ggml.c:13588–13600  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13586// ggml_compute_forward_map_custom2
13587
13588static void ggml_compute_forward_map_custom2(
13589 const struct ggml_compute_params * params,
13590 const struct ggml_tensor * a,
13591 const struct ggml_tensor * b,
13592 struct ggml_tensor * dst) {
13593 if (params->type == GGML_TASK_INIT || params->type == GGML_TASK_FINALIZE) {
13594 return;
13595 }
13596
13597 struct ggml_map_custom2_op_params * p = (struct ggml_map_custom2_op_params *) dst->op_params;
13598
13599 p->fun(dst, a, b, params->ith, params->nth, p->userdata);
13600}
13601
13602// ggml_compute_forward_map_custom3
13603

Callers 1

ggml_compute_forwardFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected