kokkos-tools
kokkos-tools copied to clipboard
Perfetto results dependent on compile time setup
Hi there,
I'm trying to integrate these tools into a HPC code https://github.com/PHAREHUB/PHARE/
I've noticed that if compile with the following
CMAKE_CXX_FLAGS="-DNDEBUG -g0 -O3 -march=native -mtune=native"
CMAKE_BUILD_TYPE="Release"
I get strange results and duplicate entries in the flame graph
I get expected results with the following:
CMAKE_CXX_FLAGS="-g3 -O3 -march=native -mtune=native -fno-omit-frame-pointer -pg"
CMAKE_BUILD_TYPE="RelWithDebInfo"
Is this expected, or is there some requirement that's not met in the first case?