cuda: support 'CUDA Runtime' (userspace only), and bugfix