remove code for CUDA 9.1 or earlier
@@ -1949,7 +1949,6 @@ cpdef function.Module compile_with_cache(
if _cuda_runtime_version < 0:
_cuda_runtime_version = runtime.runtimeGetVersion()
- if _cuda_runtime_version >= 9000:
if 9020 <= _cuda_runtime_version < 9030:
bundled_include = 'cuda-9.2'
elif 10000 <= _cuda_runtime_version < 10010:
@@ -1963,7 +1962,7 @@ cpdef function.Module compile_with_cache(
elif 11010 <= _cuda_runtime_version < 11020:
bundled_include = 'cuda-11.1'
else:
- # CUDA v9.0, v9.1 or versions not yet supported.
+ # CUDA versions not yet supported.
bundled_include = None
cuda_path = cuda.get_cuda_path()
@@ -1972,8 +1971,7 @@ cpdef function.Module compile_with_cache(
raise RuntimeError(
'Failed to auto-detect CUDA root directory. '
'Please specify `CUDA_PATH` environment variable if you '
- 'are using CUDA v9.0, v9.1 or versions not yet supported by '
- 'CuPy.')
+ 'are using CUDA versions not yet supported by CuPy.')
if bundled_include is not None:
options += ('-I' + os.path.join(
