Add proxyTrace (#1732)
This feature tracks the proxy events and status of each send/recv op. ProxyTrace keeps a fixed number of active ops in host mem and dumps the status of each op when the program crashes or hangs.
[ROCm/rccl commit: 020dcf0a7c]
Αυτή η υποβολή περιλαμβάνεται σε:
@@ -32,6 +32,8 @@
|
||||
# For downloading, building, and installing required dependencies
|
||||
include(cmake/DownloadProject.cmake)
|
||||
|
||||
include(FetchContent)
|
||||
|
||||
if(NOT INSTALL_DEPENDENCIES)
|
||||
find_package(GTest 1.11)
|
||||
endif()
|
||||
@@ -105,6 +107,24 @@ if(NOT ROCM_FOUND)
|
||||
find_package( ROCM 0.7.3 REQUIRED CONFIG PATHS ${PROJECT_EXTERN_DIR}/rocm-cmake )
|
||||
endif()
|
||||
|
||||
set(CMAKE_INSTALL_LIBDIR lib CACHE STRING "Define install directory for libraries" FORCE)
|
||||
|
||||
# Find or download/install fmt
|
||||
find_package(fmt QUIET)
|
||||
if(NOT fmt_FOUND)
|
||||
message(STATUS "fmt not found, fetching from source...")
|
||||
FetchContent_Declare(
|
||||
fmt
|
||||
GIT_REPOSITORY https://github.com/fmtlib/fmt
|
||||
GIT_TAG e69e5f977d458f2650bb346dadf2ad30c5320281 # 10.2.1
|
||||
)
|
||||
FetchContent_MakeAvailable(fmt)
|
||||
else()
|
||||
message(STATUS "Using system fmt")
|
||||
get_target_property(FMT_INCLUDE_DIRS fmt::fmt INTERFACE_INCLUDE_DIRECTORIES)
|
||||
message(STATUS "fmt include directories: ${FMT_INCLUDE_DIRS}")
|
||||
endif()
|
||||
|
||||
# Find available local ROCM targets
|
||||
# NOTE: This will eventually be part of ROCm-CMake and should be removed at that time
|
||||
function(rocm_local_targets VARIABLE)
|
||||
|
||||
Αναφορά σε νέο ζήτημα
Block a user