(tds)
| 119 | |
| 120 | |
| 121 | def check_td_order(tds): |
| 122 | # A quick check for whether the signatures make sense, it happened too |
| 123 | # often that SIMD additions added loops that do not even make some sense. |
| 124 | # TODO: This should likely be a test and it would be nice if it rejected |
| 125 | # duplicate entries as well (but we have many as of writing this). |
| 126 | signatures = [t.in_+t.out for t in tds] |
| 127 | |
| 128 | for prev_i, sign in enumerate(signatures[1:]): |
| 129 | if sign in signatures[:prev_i+1]: |
| 130 | continue # allow duplicates... |
| 131 | |
| 132 | _check_order(signatures[prev_i], sign) |
| 133 | |
| 134 | |
| 135 | _floatformat_map = dict( |
no test coverage detected