Fixing installed pacakge tests in CI (#1119)

* Fixing installed pacakge tests in CI

* Formatted rocprofv3.py with black formatter
Dieser Commit ist enthalten in:
Gopesh Bhardwaj
2024-10-07 20:55:35 +05:30
committet von GitHub
Ursprung f2f267bcc0
Commit 9b2ece76c3
2 geänderte Dateien mit 22 neuen und 2 gelöschten Zeilen
+1 -1
Datei anzeigen
@@ -181,7 +181,7 @@ For MPI applications (or other job launchers such as SLURM), place rocprofv3 ins
add_parser_bool_argument(
basic_tracing_options,
"--hsa-trace",
help="For collecting --hsa-core-trace, --hsa-amd-trace,--hsa-image-trace and --hsa-finalizer-trace. This option only enables the tracing of the HSA API. Unlike previous iterations of rocprof, this does not enable kernel tracing, memory copy tracing, etc"
help="For collecting --hsa-core-trace, --hsa-amd-trace,--hsa-image-trace and --hsa-finalizer-trace. This option only enables the tracing of the HSA API. Unlike previous iterations of rocprof, this does not enable kernel tracing, memory copy tracing, etc",
)
add_parser_bool_argument(
basic_tracing_options,
@@ -27,7 +27,27 @@
#include <rocprofiler-sdk/hip.h>
#include <rocprofiler-sdk/hsa.h>
#include <rocprofiler-sdk/marker.h>
#include <rocprofiler-sdk/rccl.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 <hsa/hsa.h>
#include <hsa/hsa_amd_tool.h>