| 16610 | node->perf_time_us += time_us_cur; |
| 16611 | } |
| 16612 | static void ggml_graph_compute_perf_stats_node_gpu(struct ggml_tensor * node, const struct ggml_compute_state_shared * st) { |
| 16613 | int64_t cycles_cur = ggml_perf_cycles() - st->perf_node_start_cycles; |
| 16614 | int64_t time_us_cur = ggml_perf_time_us() - st->perf_node_start_time_us; |
| 16615 | |
| 16616 | node->perf_runs+=2; |
| 16617 | node->perf_cycles += cycles_cur; |
| 16618 | node->perf_time_us += time_us_cur; |
| 16619 | } |
| 16620 | |
| 16621 | |
| 16622 | static int ggml_get_n_tasks(struct ggml_tensor * node, int n_threads) { |
no outgoing calls
no test coverage detected