GPU: provide the std type_traits subset used on Metal - #15794
Conversation
|
I don't understand this PR. It seems to just copy and paste everything from the other architectures into a separate block for Metal. Why? Is this AI generated without having a look? I think it could be simplified significantly. |
MSL has no standard library, so the handful of traits the GPU code relies on are defined for __METAL__, as is already done for the other device compilers.
|
As discussed privately, this the a forward port of some old "bio" attempt where I was keeping things separate, mostly because of the |
|
Error while checking build/O2/fullCI_slc9 for 0663dd6 at 2026-09-15 20:45: Full log here. |
MSL has no standard library, so the handful of traits the GPU code relies on
are defined for METAL, as is already done for the other device compilers.