diff --git a/source/include/rocprofiler-sdk/CMakeLists.txt b/source/include/rocprofiler-sdk/CMakeLists.txt index 0289b0f0bb..68b57aab46 100644 --- a/source/include/rocprofiler-sdk/CMakeLists.txt +++ b/source/include/rocprofiler-sdk/CMakeLists.txt @@ -29,6 +29,7 @@ set(ROCPROFILER_HEADER_FILES pc_sampling.h profile_config.h registration.h + rccl.h spm.h ${CMAKE_CURRENT_BINARY_DIR}/version.h) diff --git a/source/include/rocprofiler-sdk/callback_tracing.h b/source/include/rocprofiler-sdk/callback_tracing.h index eba9aab878..124207d402 100644 --- a/source/include/rocprofiler-sdk/callback_tracing.h +++ b/source/include/rocprofiler-sdk/callback_tracing.h @@ -27,27 +27,7 @@ #include #include #include - -#if !defined(ROCPROFILER_SDK_USE_SYSTEM_RCCL) -# if defined __has_include -# if __has_include() -# define ROCPROFILER_SDK_USE_SYSTEM_RCCL 1 -# else -# define ROCPROFILER_SDK_USE_SYSTEM_RCCL 0 -# endif -# else -# define ROCPROFILER_SDK_USE_SYSTEM_RCCL 0 -# endif -#endif - -#if ROCPROFILER_SDK_USE_SYSTEM_RCCL > 0 -# include -# include -#else -# include -# include -# include -#endif +#include #include #include