Performance Measurement, Analysis, and Optimization of GPU-accelerated Applications