821918a512
* Update TT API * Rework serialization * update att_core * Fix tests * Fix tool * Formatting * Fix perfcounter * Formatting * Rename agent TT * Format * Workaround for codeQL alert * Tidy fix * Fix compiler error * Tidy * Fix some tests * Fixing some tests * formatting * Fixing ATT serialization * Format * Fix test commandline * Fixing init order * Format * Tidy fixes * Removing unused sample * Fix tests and schema * Added ATT + PMC test * Fix mode * Fix file mode * Review comments * Fix typo * Review comments * Review comments * Fix missing id inc after review comment * Review comments * Suggested Fixes * Testing changes * Test fix * Build fixes * Minor build fix --------- Co-authored-by: Giovanni Baraldi <gbaraldi@amd.com> Co-authored-by: Benjamin Welton <bewelton@amd.com> Co-authored-by: Welton, Benjamin <Benjamin.Welton@amd.com>
46 lines
1.1 KiB
CMake
46 lines
1.1 KiB
CMake
#
|
|
#
|
|
#
|
|
cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR)
|
|
|
|
project(rocprofiler-rocprofv3-tests LANGUAGES C CXX)
|
|
|
|
set(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME "tests")
|
|
|
|
if(NOT CMAKE_BUILD_TYPE)
|
|
set(CMAKE_BUILD_TYPE
|
|
"Release"
|
|
CACHE STRING "" FORCE)
|
|
endif()
|
|
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
set(CMAKE_CXX_EXTENSIONS OFF)
|
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
set(CMAKE_HIP_STANDARD 17)
|
|
set(CMAKE_HIP_EXTENSIONS OFF)
|
|
set(CMAKE_HIP_STANDARD_REQUIRED ON)
|
|
|
|
enable_testing()
|
|
include(CTest)
|
|
|
|
add_subdirectory(tracing)
|
|
add_subdirectory(tracing-plus-counter-collection)
|
|
add_subdirectory(tracing-hip-in-libraries)
|
|
add_subdirectory(counter-collection)
|
|
add_subdirectory(hsa-queue-dependency)
|
|
add_subdirectory(kernel-rename)
|
|
add_subdirectory(memory-allocation)
|
|
add_subdirectory(aborted-app)
|
|
add_subdirectory(summary)
|
|
add_subdirectory(roctracer-roctx)
|
|
add_subdirectory(scratch-memory)
|
|
add_subdirectory(pc-sampling)
|
|
add_subdirectory(collection-period)
|
|
add_subdirectory(rocdecode-trace)
|
|
add_subdirectory(rocjpeg-trace)
|
|
if(TARGET att_decoder_testing1)
|
|
add_subdirectory(advanced-thread-trace)
|
|
endif()
|
|
add_subdirectory(hip-stream-display)
|
|
add_subdirectory(agent-index)
|