Skip to content

Commit 9d67dc3

Browse files
authored
Changing cuda cxx flag (triton-inference-server#338)
1 parent 980a5bb commit 9d67dc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ set(boostorg_INCLUDE_DIRS "${CMAKE_BINARY_DIR}/boost/")
119119
if(${TRITON_ENABLE_GPU})
120120
find_package(CUDAToolkit REQUIRED)
121121
message(STATUS "Using CUDA ${CUDA_VERSION}")
122-
set(CUDA_NVCC_FLAGS -std=c++11)
122+
set(CUDA_NVCC_FLAGS -std=c++${TRITON_MIN_CXX_STANDARD})
123123
elseif()
124124
message(WARNING "TRITON_ENABLE_GPU is OFF, GPU Tensor support will be disabled")
125125
endif() # TRITON_ENABLE_GPU

0 commit comments

Comments
 (0)