| 28 | int64_t loop_extra_qsa_slots(int64_t, int64_t, int64_t) { return 0; } |
| 29 | |
| 30 | std::vector<LoopStep> build_loop_schedule(int64_t, int64_t qsa_interval, int64_t layer_lo, int64_t layer_hi, bool) { |
| 31 | const int64_t I = qsa_interval > 0 ? qsa_interval : 4; |
| 32 | std::vector<LoopStep> out; |
| 33 | out.reserve((size_t) (layer_hi > layer_lo ? layer_hi - layer_lo : 0)); |
| 34 | for (int64_t l = layer_lo; l < layer_hi; ++l) { |
| 35 | LoopStep s; |
| 36 | s.layer = l; |
| 37 | s.pass = 0; |
| 38 | s.core_step = -1; |
| 39 | if (l % I == I - 1) s.qsa_slot = l / I; |
| 40 | else s.gdn_slot = l - l / I; |
| 41 | out.push_back(s); |
| 42 | } |
| 43 | return out; |
| 44 | } |
| 45 | |
| 46 | bool loop_split_cyclic(const std::vector<int64_t>&) { return false; } |
| 47 |
no test coverage detected