File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # Copyright 2022-2023 , NVIDIA CORPORATION & AFFILIATES. All rights reserved.
1+ # Copyright 2022-2025 , NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22#
33# Redistribution and use in source and binary forms, with or without
44# modification, are permitted provided that the following conditions
2424# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2525# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2626
27- cmake_minimum_required (VERSION 3.18 )
27+ cmake_minimum_required (VERSION 3.31.8 )
2828
2929project (tritondevelopertoolsserver LANGUAGES C CXX )
3030
@@ -68,14 +68,12 @@ FetchContent_MakeAvailable(repo-common repo-core)
6868#
6969if (${TRITON_ENABLE_GPU} )
7070 find_package (CUDAToolkit REQUIRED )
71- find_package (CUDA REQUIRED )
72- message (STATUS "Using CUDA ${CUDA_VERSION} " )
7371 set (CUDA_NVCC_FLAGS -std=c++11)
7472
75- if (CUDA_VERSION VERSION_GREATER "10.1" OR CUDA_VERSION VERSION_EQUAL "10.1" )
73+ if (CUDAToolkit_VERSION VERSION_GREATER_EQUAL "10.1" )
7674 add_definitions (-DTRITON_ENABLE_CUDA_GRAPH=1 )
7775 else ()
78- message (WARNING "CUDA ${CUDA_VERSION } does not support CUDA graphs." )
76+ message (WARNING "CUDA ${CUDAToolkit_VERSION } does not support CUDA graphs." )
7977 endif ()
8078endif () # TRITON_ENABLE_GPU
8179
Original file line number Diff line number Diff line change 1- # Copyright 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
1+ # Copyright 2022-2025 , NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22#
33# Redistribution and use in source and binary forms, with or without
44# modification, are permitted provided that the following conditions
2424# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2525# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2626
27- cmake_minimum_required (VERSION 3.18 )
27+ cmake_minimum_required (VERSION 3.31.8 )
2828
2929#
3030# examples
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ apt update -q=2 \
3636 && . /etc/os-release \
3737 && echo " deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ $UBUNTU_CODENAME main" | tee /etc/apt/sources.list.d/kitware.list > /dev/null \
3838 && apt-get update -q=2 \
39- && apt-get install -y --no-install-recommends cmake=3.28 .3* cmake-data=3.28 .3* \
39+ && apt-get install -y --no-install-recommends cmake=4.0 .3* cmake-data=4.0 .3* \
4040 && cmake --version
4141
4242# Install developer tools
Original file line number Diff line number Diff line change 1- # Copyright 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
1+ # Copyright 2022-2025 , NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22#
33# Redistribution and use in source and binary forms, with or without
44# modification, are permitted provided that the following conditions
2424# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2525# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2626
27- cmake_minimum_required (VERSION 3.18 )
27+ cmake_minimum_required (VERSION 3.31.8 )
2828
2929#
3030# Unit tests
You can’t perform that action at this time.
0 commit comments