| 13571 | // ggml_compute_forward_map_custom1 |
| 13572 | |
| 13573 | static void ggml_compute_forward_map_custom1( |
| 13574 | const struct ggml_compute_params * params, |
| 13575 | const struct ggml_tensor * a, |
| 13576 | struct ggml_tensor * dst) { |
| 13577 | if (params->type == GGML_TASK_INIT || params->type == GGML_TASK_FINALIZE) { |
| 13578 | return; |
| 13579 | } |
| 13580 | |
| 13581 | struct ggml_map_custom1_op_params * p = (struct ggml_map_custom1_op_params *) dst->op_params; |
| 13582 | |
| 13583 | p->fun(dst, a, params->ith, params->nth, p->userdata); |
| 13584 | } |
| 13585 | |
| 13586 | // ggml_compute_forward_map_custom2 |
| 13587 |
no outgoing calls
no test coverage detected