RelWithDebInfo & CUDA -G #1060
Labels
Backend:CUDA
Backend:HIP
Type:Bug
Type:CMake
Related to build system
Type:Install
installation & packaging
The CMake option
RelWithDebInfo
is runtime performance neutral and enables all optimizations. On Linux, debug symbols are stored in a separate part of the binary and with MSVC in separate files.Therefore, we should not add
-G
debug withRelWithDebInfo
as this turns all device optimizations off:https://github.com/alpaka-group/alpaka/blob/0.5.0/cmake/alpakaCommon.cmake#L514
Without checking, this is probably similar with HIP:
https://github.com/alpaka-group/alpaka/blob/0.5.0/cmake/alpakaCommon.cmake#L642
References:
The text was updated successfully, but these errors were encountered: