You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, enabling it does not generate required lineinfo, which is useful for debugging and profiling.
UPDATE: KERNEL_INFO flag is also ignored, see Venkat's comment below.
Steps/Code to reproduce bug
Enable LINE_INFO option in the CMakeLists.txt file and build in verbose mode. See that CUDA compile lines have no -lineinfo option.
Expected behavior
Line information should be generated when enabled.
Environment details (please complete the following information):
Environment location: I tested on Bare-metal, but should be reproducible on Docker, Cloud etc.
Linux Distro/Architecture: Not relevant
GPU Model/Driver: Not relevant
CUDA: Not relevant
Method of cuDF & cuML install: from source
cmake version 3.20.2 & gcc/g++ version 9.3.2
Additional context
This issue is probably because the module
vinaydes
changed the title
[BUG] CUDA lineinfo is not generated by current cmake build
[BUG] CUDA lineinfo and kernel info is not generated by current cmake build
Jun 3, 2021
Describe the bug
cpp/CMakeLists.txt
has a option to enable generation of CUDA kernel lineinfo on line:cuml/cpp/CMakeLists.txt
Line 66 in 42297b5
However, enabling it does not generate required lineinfo, which is useful for debugging and profiling.
UPDATE:
KERNEL_INFO
flag is also ignored, see Venkat's comment below.Steps/Code to reproduce bug
Enable
LINE_INFO
option in the CMakeLists.txt file and build in verbose mode. See that CUDA compile lines have no-lineinfo
option.Expected behavior
Line information should be generated when enabled.
Environment details (please complete the following information):
cmake
version3.20.2
&gcc/g++
version9.3.2
Additional context
This issue is probably because the module
cuml/cpp/cmake/modules/ConfigureCUDA.cmake
Line 37 in 42297b5
CUDA_ENABLE_LINEINFO
andcpp/CMakeLists.txt
setsLINE_INFO
. On my local setup changing this produced the line information.The text was updated successfully, but these errors were encountered: