Forgot to add some _has_cuda checks.