| 288 | bool bits_equal(float a, float b) { return std::memcmp(&a, &b, 4) == 0; } |
| 289 | |
| 290 | uint32_t float_bits(float f) { |
| 291 | uint32_t u; |
| 292 | std::memcpy(&u, &f, 4); |
| 293 | return u; |
| 294 | } |
| 295 | |
| 296 | void test_dot(sq::Type st, int rows) { |
| 297 | const ggml_type gt = (ggml_type) (int) st; |