difference between rpi and cpi