Skip to content

Commit

Permalink
[Mosaic] Several fixes/improvements for the new TPU interpret mode.
Browse files Browse the repository at this point in the history
 - Checks bounds for reads and writes to shared memory.
 - Pads kernel arguments when necessary.
 - Fix support for input-output aliasing.
 - Fix handling of vmap'ed dimensions.
 - Supports un-masked `pl.load` and masked or un-masked `pl.swap`.
 - Switch to using single integer device IDs instead of tuples.
 - Better error messages for unsupported primitives: `for_p`, `atomic_rmw_p`, and `atomic_cas_p` .

PiperOrigin-RevId: 725784360
  • Loading branch information
jburnim authored and Google-ML-Automation committed Feb 14, 2025
1 parent d3850e7 commit 9b979d9
Showing 1 changed file with 248 additions and 103 deletions.
Loading

0 comments on commit 9b979d9

Please # to comment.