Skip to content
fn

raise_failed_step

void raise_failed_step(const ::mlx::core::array & failed, const char * op, const int & s)

Raise for the first set flag of failed — shaped (..., n), one flag per factorisation step of each matrix — or return when none is set. One host read of a single flag when nothing failed; the whole grid is read only to name the failure.