High Performance Machine Learning Through Codesign And Rooflining