CDMPP: A Device-Model Agnostic Framework for Latency Prediction of Tensor Programs