pub fn synchronize(stream: &MlxStream) -> Result<(), MlxCError>
Waits for submitted work on the given stream to complete.