viable/strict/1788130193: [BE] [MPS] Use a typed struct for LU scratch space (#195297)
- PyTorch: 281 events in the last 90 days
- PyTorch: 278th Release in the last 90 days
- Previous: earlier the same day · viable/strict/1788128625
What happened
Introduce c10::metal::complex alias to either c10::complex or metal::vec Introduce LUStreamScratch that holds float, uint and T scratch spaces for various stages of LU decomposition That allows one to kill pointer arithmetic on device and allocate it as sizeof(LUStreamScratch) rather than some complex dance of magic constants 🤖 Generated with Claude Code Pull Request resolved: #195297 Approved by: https://github.co…
Summary assembled by rule from the sources below