Use the simpler interface to CUDA extension.