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 e3cb60e commit ff3ca3dCopy full SHA for ff3ca3d
cmake/Utils.cmake
@@ -98,13 +98,11 @@ function(xgboost_set_cuda_flags target)
98
if(USE_DEVICE_DEBUG)
99
target_compile_options(${target} PRIVATE
100
$<$<AND:$<CONFIG:DEBUG>,$<COMPILE_LANGUAGE:CUDA>>:-G;-src-in-ptx>)
101
- else()
102
- target_compile_options(${target} PRIVATE
103
- $<$<COMPILE_LANGUAGE:CUDA>:-lineinfo>)
104
endif()
105
106
if(USE_NVTX)
107
target_compile_definitions(${target} PRIVATE -DXGBOOST_USE_NVTX=1)
+ target_compile_options(${target} PRIVATE $<$<COMPILE_LANGUAGE:CUDA>:-lineinfo>)
108
109
110
# Use CCCL we find before CUDA Toolkit to make sure we get newer headers as intended
0 commit comments