We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4406da commit dcf8afeCopy full SHA for dcf8afe
cmake/Utils.cmake
@@ -112,13 +112,11 @@ function(xgboost_set_cuda_flags target)
112
if(USE_DEVICE_DEBUG)
113
target_compile_options(${target} PRIVATE
114
$<$<AND:$<CONFIG:DEBUG>,$<COMPILE_LANGUAGE:CUDA>>:-G;-src-in-ptx>)
115
- else()
116
- target_compile_options(${target} PRIVATE
117
- $<$<COMPILE_LANGUAGE:CUDA>:-lineinfo>)
118
endif()
119
120
if(USE_NVTX)
121
target_compile_definitions(${target} PRIVATE -DXGBOOST_USE_NVTX=1)
+ target_compile_options(${target} PRIVATE $<$<COMPILE_LANGUAGE:CUDA>:-lineinfo>)
122
123
124
# Use CCCL we find before CUDA Toolkit to make sure we get newer headers as intended
0 commit comments