| 13586 | // ggml_compute_forward_map_custom2 |
| 13587 | |
| 13588 | static 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 |
no outgoing calls
no test coverage detected