Reverts change to `source/include/rocprofiler-sdk/callback_tracing.h`
from commit 9b2ece76c3
This commit is contained in:
Mythreya
2024-10-07 15:37:19 -07:00
committato da GitHub
parent 9652a6e738
commit a3b41d04fc
2 ha cambiato i file con 2 aggiunte e 21 eliminazioni
@@ -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)
@@ -27,27 +27,7 @@
#include <rocprofiler-sdk/hip.h>
#include <rocprofiler-sdk/hsa.h>
#include <rocprofiler-sdk/marker.h>
#if !defined(ROCPROFILER_SDK_USE_SYSTEM_RCCL)
# if defined __has_include
# if __has_include(<rccl/amd_detail/api_trace.h>)
# 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 <rccl/amd_detail/api_trace.h>
# include <rccl/rccl.h>
#else
# include <rocprofiler-sdk/rccl/api_args.h>
# include <rocprofiler-sdk/rccl/details/api_trace.h>
# include <rocprofiler-sdk/rccl/details/rccl.h>
#endif
#include <rocprofiler-sdk/rccl.h>
#include <hsa/hsa.h>
#include <hsa/hsa_amd_tool.h>