Spatio-Temporal Gpu Management For Real-Time Cyber-Physical Systems