d4a51e4102
* Adding att v3 support * misc fix * bug fix * Python linting workflow and rules * fix regex * Adding temporary args * fix temporary args * fix format * remove att_perfcounters from test input * Review comments (#163) Co-authored-by: Giovanni Baraldi <gbaraldi@amd.com> * Revert "Review comments (#163)" This reverts commit 9ef0f8e5a4489d5581255e1b70ced2aef5c1c1d0. * Address review comments 2 * review changes * review comments * review * cmake alias * review * review * review * review * Enabling percounter in v3 script * review * formatting * formatting --------- Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com> Co-authored-by: Baraldi, Giovanni <Giovanni.Baraldi@amd.com> Co-authored-by: Giovanni Baraldi <gbaraldi@amd.com>
49 satır
1.1 KiB
CMake
Çalıştırılabilir Dosya
49 satır
1.1 KiB
CMake
Çalıştırılabilir Dosya
#
|
|
# ATT decoder wrapper library for use by the rocprofv3 tool
|
|
#
|
|
set(ATT_TOOL_SOURCE_FILES
|
|
waitcnt/analysis.cpp
|
|
waitcnt/gfx9.cpp
|
|
waitcnt/gfx10.cpp
|
|
waitcnt/gfx12.cpp
|
|
att_lib_wrapper.cpp
|
|
wave.cpp
|
|
code.cpp
|
|
filenames.cpp
|
|
occupancy.cpp
|
|
wstates.cpp
|
|
profile_interface.cpp
|
|
dl.cpp)
|
|
|
|
find_package(
|
|
amd_comgr
|
|
REQUIRED
|
|
CONFIG
|
|
HINTS
|
|
${rocm_version_DIR}
|
|
${ROCM_PATH}
|
|
PATHS
|
|
${rocm_version_DIR}
|
|
${ROCM_PATH}
|
|
PATH_SUFFIXES
|
|
lib/cmake/amd_comgr)
|
|
|
|
add_library(rocprofiler-sdk-att-parser STATIC)
|
|
add_library(rocprofiler-sdk::rocprofiler-sdk-att-parser ALIAS rocprofiler-sdk-att-parser)
|
|
target_sources(rocprofiler-sdk-att-parser PRIVATE ${ATT_TOOL_SOURCE_FILES})
|
|
|
|
target_link_libraries(
|
|
rocprofiler-sdk-att-parser
|
|
PRIVATE rocprofiler-sdk::rocprofiler-sdk-codeobj
|
|
rocprofiler-sdk::rocprofiler-sdk-headers
|
|
rocprofiler-sdk::rocprofiler-sdk-json
|
|
rocprofiler-sdk::rocprofiler-sdk-common-library
|
|
amd_comgr
|
|
dw)
|
|
|
|
add_subdirectory(waitcnt)
|
|
|
|
if(ROCPROFILER_BUILD_TESTS)
|
|
add_subdirectory(tests)
|
|
endif()
|