A study of the radiation tolerance of poly-crystalline and single-crystalline CVD diamond to 800 MeV and 24 GeV protons