fn update_cost_and_signal( num_histograms32: u32, ix: usize, min_cost: floatX, block_switch_cost: floatX, cost: &mut [Mem256f], switch_signal: &mut [u8], )