ef22b7a484
* CMake support for OTF2 library
* Preliminary OTF2 generation implementation
* Completed OTF2 Support
- HSA API
- HIP API
- Marker API
- Async Memory Copies
- Kernel Dispatch
* Update lib/rocprofiler-sdk-tool/generateOTF2.cpp
- fix location type for dispatches
* Testing for OTF2 output
* Add OTF2 to requirements.txt
* Update lib/rocprofiler-sdk-tool/generateOTF2.cpp
- fix getting kernel name
* OTF2 testing with rocprofv3/tracing-hip-in-libraries
* Format external/otf2/CMakeLists.txt
* Update external/otf2/CMakeLists.txt
- guard CMP0135 for cmake < 3.24
* Update lib/rocprofiler-sdk-tool/generateOTF2.cpp
- fix duplicate string ref issue
* Update lib/rocprofiler-sdk-tool/generateOTF2.cpp
- fix header includes
* Update CI workflow
- sudo install pypi requirements for core-rpm for $HOME/.local installs
* Update pytest_utils/otf2_reader.py
- modifications for reading trace
* Update pytest_utils/otf2_reader.py
- misc cleanup
* Update CI workflow
- fix installer artifact naming
* Update pytest_utils/otf2_reader.py
- handle slightly overlapping kernel timestamps for MI300
* OTF2 attributes for category
* Testing with OTF2Reader category attributes
* Fix memory leak in OTF2 generation
- leaking OTF2_AttributeList
[ROCm/rocprofiler-sdk commit: 16d535ef48]
28 lines
754 B
CMake
28 lines
754 B
CMake
#
|
|
#
|
|
#
|
|
|
|
set(PACKAGE_OUTPUT_DIR
|
|
${ROCPROFILER_SDK_TESTS_BINARY_DIR}/pytest-packages/rocprofiler_sdk)
|
|
|
|
set(PYTEST_UTILS_PYTHON_SOURCES __init__.py dotdict.py perfetto_reader.py otf2_reader.py)
|
|
set(TESTS_PYTHON_SOURCES __init__.py rocprofv3.py)
|
|
|
|
foreach(_FILE ${PYTEST_UTILS_PYTHON_SOURCES})
|
|
configure_file(${CMAKE_CURRENT_LIST_DIR}/pytest_utils/${_FILE}
|
|
${PACKAGE_OUTPUT_DIR}/pytest_utils/${_FILE} COPYONLY)
|
|
endforeach()
|
|
|
|
foreach(_FILE ${TESTS_PYTHON_SOURCES})
|
|
configure_file(${CMAKE_CURRENT_LIST_DIR}/tests/${_FILE}
|
|
${PACKAGE_OUTPUT_DIR}/tests/${_FILE} COPYONLY)
|
|
endforeach()
|
|
|
|
file(
|
|
WRITE "${PACKAGE_OUTPUT_DIR}/__init__.py"
|
|
"#
|
|
from __future__ import absolute_import
|
|
|
|
from . import pytest_utils
|
|
")
|