| 933 | const auto producer = owners.find(source); |
| 934 | if (producer != owners.end() && source->op != GGML_OP_NONE && (consumer == owners.end() || consumer->second != producer->second) && |
| 935 | !outputs.count(source)) { |
| 936 | GGML_LOG_ERROR("%s: undeclared value escapes a region\n", __func__); |
| 937 | return false; |
| 938 | } |
| 939 | } |
| 940 | } |
| 941 | std::sort(ranges.begin(), ranges.end(), [](const range & a, const range & b) { return a.begin < b.begin; }); |
| 942 | auto & segments = state.splits; |
| 943 | segments.clear(); |
| 944 | segments.resize(sched->n_splits); |
| 945 | size_t next = 0; |
| 946 | for (int i = 0; i < sched->n_splits; ++i) { |
no outgoing calls
no test coverage detected