Skip to content

Add CPU/Host Debug Compilation Option

Stefano Corda requested to merge profiling into master

This merge request introduces the BUILD_WITH_CPU_DEBUG CMake option. When enabled, it adds the -g debugging flag during compilation, enhancing debugging at the CPU/host level and facilitating tools like Intel Vtune and Advisor. Such tools require this flag to accurately map to the source code and identify performance bottlenecks.

Changes: Added the BUILD_WITH_CPU_DEBUG CMake option (default: OFF). When set to ON, the -g debugging flag is included in the compilation steps.

Edited by Stefano Corda

Merge request reports

Loading