API for High-efficiency Graphics and Compute on GPUs