← Back to events
ActiveAIRelease

trunk/ebc5cc437ec936657e95f35de3084d65a764ac6e: [MPS] Migrate `addc[mul|div]` to Metal (#196924)

What happened

Follows the precedent set by lerp and clamp: both ops now register addc{mul,div}_stub and run through the shared exec_ternary_kernel , which gains an alpha flavor for the value scalar so the family covers clamp , lerp , addcmul and addcdiv alike. Fixes the same cast error lerp had: the _cast_ ternary kernels were instantiated for the output dtype, so an out= wider than the common dtype widened the computation as wel…

Summary assembled by rule from the sources below

Why it's spreading

Sources