STY: Making CUDA API cleaner