36f4788ad5
* Add rocprofiler-sdk-utilities.cmake
- contains cmake function rocprofiler_sdk_get_gfx_architectures
* Update perfetto_reader.py
- fix hash collision
* Update project names in tests folders
- rocprofiler-tests -> rocprofiler-sdk-tests
* Fix incorrect allocation-error handling
* [CI] Disable openmp tests for navi2, navi3, and navi4
* Suppress leaks by omptarget and llvm
---------
Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
[ROCm/rocprofiler-sdk commit: 2d072f9217]
41 γραμμές
1.2 KiB
CMake
41 γραμμές
1.2 KiB
CMake
#
|
|
# Integration test applications
|
|
#
|
|
cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR)
|
|
|
|
project(rocprofiler-sdk-tests-bin LANGUAGES C CXX)
|
|
|
|
set(CMAKE_BUILD_RPATH
|
|
"\$ORIGIN:\$ORIGIN/../lib:$<TARGET_FILE_DIR:rocprofiler-sdk-roctx::rocprofiler-sdk-roctx-shared-library>"
|
|
)
|
|
|
|
# Find rocDecode and rocJPEG packages for testing
|
|
find_package(rocDecode)
|
|
find_package(rocJPEG)
|
|
|
|
# applications used by integration tests which DO link to rocprofiler-sdk-roctx
|
|
add_subdirectory(reproducible-runtime)
|
|
add_subdirectory(transpose)
|
|
add_subdirectory(openmp)
|
|
|
|
set(CMAKE_BUILD_RPATH "\$ORIGIN:\$ORIGIN/../lib")
|
|
|
|
# applications used by integration tests which DO NOT link to rocprofiler-sdk-roctx
|
|
add_subdirectory(simple-transpose)
|
|
add_subdirectory(multistream)
|
|
add_subdirectory(vector-operations)
|
|
add_subdirectory(hip-in-libraries)
|
|
add_subdirectory(scratch-memory)
|
|
add_subdirectory(page-migration)
|
|
add_subdirectory(hsa-queue-dependency)
|
|
add_subdirectory(hip-graph)
|
|
add_subdirectory(hsa-memory-allocation)
|
|
add_subdirectory(pc-sampling)
|
|
if(rocDecode_FOUND AND rocDecode_VERSION VERSION_GREATER 0.8.0)
|
|
add_subdirectory(rocdecode)
|
|
endif()
|
|
if(rocJPEG_FOUND AND rocJPEG_VERSION VERSION_GREATER 0.6.0)
|
|
add_subdirectory(rocjpeg)
|
|
endif()
|
|
add_subdirectory(hsa-code-object)
|