| 2137 | } |
| 2138 | |
| 2139 | static inline bool ggml_can_repeat_rows(const struct ggml_tensor * t0, const struct ggml_tensor * t1) { |
| 2140 | static_assert(GGML_MAX_DIMS == 4, "GGML_MAX_DIMS is not 4 - update this function"); |
| 2141 | |
| 2142 | return (t0->ne[0] == t1->ne[0]) && ggml_can_repeat(t0, t1); |
| 2143 | } |
| 2144 | |
| 2145 | static inline int ggml_up32(int n) { |
| 2146 | return (n + 31) & ~31; |
no test coverage detected