diff --git a/.github/workflows/cuda.yml b/.github/workflows/cuda.yml index 9ab8440a6625..37fe58130ff3 100644 --- a/.github/workflows/cuda.yml +++ b/.github/workflows/cuda.yml @@ -36,7 +36,7 @@ jobs: - method: source compiler: gcc python_version: "3.9" - cuda_version: "10.0" + cuda_version: "11.7.1" task: cuda - method: pip compiler: clang diff --git a/CMakeLists.txt b/CMakeLists.txt index 6705ef130052..6b5705904a27 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -203,14 +203,11 @@ if(__INTEGRATE_OPENCL) endif() if(USE_CUDA) - find_package(CUDA 10.0 REQUIRED) + find_package(CUDA 11.0 REQUIRED) include_directories(${CUDA_INCLUDE_DIRS}) set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -Xcompiler=${OpenMP_CXX_FLAGS} -Xcompiler=-fPIC -Xcompiler=-Wall") set(CUDA_ARCHS "6.0" "6.1" "6.2" "7.0") - if(CUDA_VERSION VERSION_GREATER_EQUAL "10.0") - list(APPEND CUDA_ARCHS "7.5") - endif() if(CUDA_VERSION VERSION_GREATER_EQUAL "11.0") list(APPEND CUDA_ARCHS "8.0") endif() diff --git a/docs/Installation-Guide.rst b/docs/Installation-Guide.rst index 412f0ec5993a..41f7070d6a9d 100644 --- a/docs/Installation-Guide.rst +++ b/docs/Installation-Guide.rst @@ -635,7 +635,7 @@ On Linux a CUDA version of LightGBM can be built using **CUDA**, **CMake** and * The following dependencies should be installed before compilation: -- **CUDA** 10.0 or later libraries. Please refer to `this detailed guide`_. Pay great attention to the minimum required versions of host compilers listed in the table from that guide and use only recommended versions of compilers. +- **CUDA** 11.0 or later libraries. Please refer to `this detailed guide`_. Pay great attention to the minimum required versions of host compilers listed in the table from that guide and use only recommended versions of compilers. - **CMake** 3.16 or later.