| 21 | namespace { |
| 22 | uint64_t g_s = 88172645463325252ull; |
| 23 | uint32_t rnd() { |
| 24 | g_s ^= g_s << 13; |
| 25 | g_s ^= g_s >> 7; |
| 26 | g_s ^= g_s << 17; |
| 27 | return (uint32_t) (g_s >> 16); |
| 28 | } |
| 29 | |
| 30 | double run(const sq::DotKernel* k, const std::vector<uint8_t>& w, size_t rb, int n, size_t rows, const void* act, float* sink) { |
| 31 | using C = std::chrono::steady_clock; |