jax authors b4966130a3 Compute tile index using tile-based coordinates
This reduces the chances of overflowing a 32-bit integer when computing tile indices.
Add unit test to reproduce the overflow with the previous implementation of `blocked_fold_in`.

PiperOrigin-RevId: 737778853
2025-03-17 15:46:27 -07:00
..
2024-12-18 07:46:14 +00:00
2025-03-07 04:52:58 +00:00
2024-05-25 17:46:01 +00:00
2024-10-07 12:27:35 -07:00
2024-11-05 13:28:17 -08:00
2025-02-18 09:44:16 +00:00
2025-03-14 11:48:21 -07:00