diff --git a/.github/workflows/continuous_integration.yml b/.github/workflows/continuous_integration.yml index 354fa8e2cb..a8779c9ded 100644 --- a/.github/workflows/continuous_integration.yml +++ b/.github/workflows/continuous_integration.yml @@ -30,13 +30,13 @@ env: mi300a_EXCLUDE_TESTS_REGEX: "^(test-page-migration-(execute|validate))$" mi325_EXCLUDE_TESTS_REGEX: "^(test-page-migration-(execute|validate)|counter-collection-buffer)$" navi4_EXCLUDE_TESTS_REGEX: "^(test-page-migration-(execute|validate))$" - navi3_EXCLUDE_LABEL_REGEX: "^(pc-sampling|pc_sampling|openmp-target)$" - vega20_EXCLUDE_LABEL_REGEX: "^(pc-sampling|pc_sampling|openmp-target)$" + navi3_EXCLUDE_LABEL_REGEX: "^(pc-sampling)$" + vega20_EXCLUDE_LABEL_REGEX: "^(pc-sampling)$" mi200_EXCLUDE_LABEL_REGEX: "^(stochastic)$" - mi300_EXCLUDE_LABEL_REGEX: "^(pc-sampling|pc_sampling)$" + mi300_EXCLUDE_LABEL_REGEX: "^(pc-sampling)$" mi300a_EXCLUDE_LABEL_REGEX: "" - mi325_EXCLUDE_LABEL_REGEX: "^(pc-sampling|pc_sampling)$" - navi4_EXCLUDE_LABEL_REGEX: "^(pc-sampling|pc_sampling|openmp-target)$" + mi325_EXCLUDE_LABEL_REGEX: "^(pc-sampling)$" + navi4_EXCLUDE_LABEL_REGEX: "^(pc-sampling)$" jobs: core-deb: diff --git a/cmake/Modules/rocprofiler-sdk-utilities.cmake b/cmake/Modules/rocprofiler-sdk-utilities.cmake new file mode 100644 index 0000000000..dcd0d81105 --- /dev/null +++ b/cmake/Modules/rocprofiler-sdk-utilities.cmake @@ -0,0 +1,51 @@ +# +# Miscellaneous cmake functions for rocprofiler-sdk +# + +include_guard(GLOBAL) + +function(rocprofiler_sdk_get_gfx_architectures _VAR) + cmake_parse_arguments(ARG "ECHO" "PREFIX;DELIM" "" ${ARGN}) + + if(NOT DEFINED ARG_DELIM) + set(ARG_DELIM ", ") + endif() + + if(NOT DEFINED ARG_PREFIX) + set(ARG_PREFIX "[${PROJECT_NAME}] ") + endif() + + find_program( + rocminfo_EXECUTABLE + NAMES rocminfo + HINTS ${rocprofiler-sdk_ROOT_DIR} ${rocm_version_DIR} ${ROCM_PATH} /opt/rocm + PATHS ${rocprofiler-sdk_ROOT_DIR} ${rocm_version_DIR} ${ROCM_PATH} /opt/rocm + PATH_SUFFIXES bin) + + if(rocminfo_EXECUTABLE) + execute_process( + COMMAND ${rocminfo_EXECUTABLE} + RESULT_VARIABLE rocminfo_RET + OUTPUT_VARIABLE rocminfo_OUT + ERROR_VARIABLE rocminfo_ERR + OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_STRIP_TRAILING_WHITESPACE) + + if(rocminfo_RET EQUAL 0) + string(REGEX MATCHALL "gfx([0-9A-Fa-f]+)" rocminfo_GFXINFO "${rocminfo_OUT}") + list(REMOVE_DUPLICATES rocminfo_GFXINFO) + set(${_VAR} + "${rocminfo_GFXINFO}" + PARENT_SCOPE) + + if(ARG_ECHO) + string(REPLACE ";" "${ARG_DELIM}" _GFXINFO_ECHO "${rocminfo_GFXINFO}") + message(STATUS "${ARG_PREFIX}System architectures: ${_GFXINFO_ECHO}") + endif() + else() + message( + AUTHOR_WARNING + "${rocminfo_EXECUTABLE} failed with error code ${rocminfo_RET}\nstderr:\n${rocminfo_ERR}\nstdout:\n${rocminfo_OUT}" + ) + endif() + endif() +endfunction() diff --git a/cmake/Templates/rocprofiler-sdk/config.cmake.in b/cmake/Templates/rocprofiler-sdk/config.cmake.in index 4fa28064df..48013bb5f6 100644 --- a/cmake/Templates/rocprofiler-sdk/config.cmake.in +++ b/cmake/Templates/rocprofiler-sdk/config.cmake.in @@ -149,6 +149,7 @@ find_package_handle_standard_args( if(EXISTS ${@PACKAGE_NAME@_CMAKE_DIR}/Modules) list(APPEND CMAKE_MODULE_PATH ${@PACKAGE_NAME@_CMAKE_DIR}/Modules) + include(rocprofiler-sdk-utilities) endif() add_executable(@PACKAGE_NAME@::convert-counters-collection-format IMPORTED) diff --git a/cmake/rocprofiler_config_install.cmake b/cmake/rocprofiler_config_install.cmake index 0a2836986d..5b067e8957 100644 --- a/cmake/rocprofiler_config_install.cmake +++ b/cmake/rocprofiler_config_install.cmake @@ -46,6 +46,7 @@ install( install( FILES ${PROJECT_SOURCE_DIR}/cmake/Modules/rocprofiler-sdk-custom-compilation.cmake + FILES ${PROJECT_SOURCE_DIR}/cmake/Modules/rocprofiler-sdk-utilities.cmake DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PACKAGE_NAME}/Modules COMPONENT development) @@ -93,10 +94,12 @@ configure_file( ${PROJECT_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}/cmake/${PACKAGE_NAME}/${PACKAGE_NAME}-config-nolink-target.cmake COPYONLY) -configure_file( - ${PROJECT_SOURCE_DIR}/cmake/Modules/rocprofiler-sdk-custom-compilation.cmake - ${PROJECT_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}/cmake/${PACKAGE_NAME}/Modules/rocprofiler-sdk-custom-compilation.cmake - COPYONLY) +foreach(_FILE rocprofiler-sdk-custom-compilation.cmake rocprofiler-sdk-utilities.cmake) + configure_file( + ${PROJECT_SOURCE_DIR}/cmake/Modules/${_FILE} + ${PROJECT_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}/cmake/${PACKAGE_NAME}/Modules/${_FILE} + COPYONLY) +endforeach() install( FILES diff --git a/samples/CMakeLists.txt b/samples/CMakeLists.txt index a911275bf4..204fc0e4fc 100644 --- a/samples/CMakeLists.txt +++ b/samples/CMakeLists.txt @@ -20,6 +20,12 @@ set(CMAKE_INSTALL_LIBDIR "lib") enable_testing() include(CTest) +# generally needed +find_package(rocprofiler-sdk REQUIRED) + +# get the gfx architectures that are present on the system +rocprofiler_sdk_get_gfx_architectures(rocprofiler-sdk-samples-gfx-info ECHO) + # common utilities for samples add_subdirectory(common) diff --git a/samples/openmp_target/CMakeLists.txt b/samples/openmp_target/CMakeLists.txt index 946c2ba9cf..4315449308 100644 --- a/samples/openmp_target/CMakeLists.txt +++ b/samples/openmp_target/CMakeLists.txt @@ -40,14 +40,20 @@ set(ROCPROFILER_MEMCHECK_TYPES "ThreadSanitizer" "AddressSanitizer" "UndefinedBehaviorSanitizer") if(ROCPROFILER_MEMCHECK AND ROCPROFILER_MEMCHECK IN_LIST ROCPROFILER_MEMCHECK_TYPES) - set(IS_SANITIZER ON) + set(IS_DISABLED ON) else() - set(IS_SANITIZER OFF) + set(IS_DISABLED OFF) endif() find_package(Threads REQUIRED) find_package(rocprofiler-sdk-roctx REQUIRED) +# disable when GPU-0 is navi2, navi3, and navi4 +list(GET rocprofiler-sdk-samples-gfx-info 0 openmp-tools-gpu-0-gfx-info) +if("${openmp-tools-gpu-0-gfx-info}" MATCHES "^gfx(10|11|12)[0-9][0-9]$") + set(IS_DISABLED ON) +endif() + add_executable(openmp-target-sample) target_sources(openmp-target-sample PRIVATE main.cpp) target_link_libraries( @@ -86,4 +92,4 @@ set_tests_properties( FAIL_REGULAR_EXPRESSION "${ROCPROFILER_DEFAULT_FAIL_REGEX}" DISABLED - "${IS_SANITIZER}") + "${IS_DISABLED}") diff --git a/source/lib/output/output_stream.cpp b/source/lib/output/output_stream.cpp index 1c5106a92c..b79bd00d4c 100644 --- a/source/lib/output/output_stream.cpp +++ b/source/lib/output/output_stream.cpp @@ -99,9 +99,12 @@ get_output_stream(const output_config& cfg, std::string_view fname, std::string_ return {&std::clog, [](auto*&) {}}; auto output_file = get_output_filename(cfg, fname, ext); - auto* _ofs = new std::ofstream{output_file}; + auto* _ofs = new(std::nothrow) std::ofstream{output_file}; + + LOG_IF(FATAL, !_ofs) << fmt::format("Failed to allocate ofstream for output file '{}'", + output_file); + LOG_IF(FATAL, _ofs && !*_ofs) << fmt::format("Failed to open '{}' for output", output_file); - LOG_IF(FATAL, !_ofs && !*_ofs) << fmt::format("Failed to open {} for output", output_file); ROCP_ERROR << "Opened result file: " << output_file; return {_ofs, [](std::ostream*& v) { diff --git a/source/lib/tests/buffering/CMakeLists.txt b/source/lib/tests/buffering/CMakeLists.txt index 0ffc46fc1a..39e771e9b4 100644 --- a/source/lib/tests/buffering/CMakeLists.txt +++ b/source/lib/tests/buffering/CMakeLists.txt @@ -1,7 +1,7 @@ # # # -project(rocprofiler-tests-buffering LANGUAGES C CXX) +project(rocprofiler-sdk-tests-buffering LANGUAGES C CXX) include(GoogleTest) diff --git a/source/lib/tests/common/CMakeLists.txt b/source/lib/tests/common/CMakeLists.txt index a675d2d5c4..cc00bf92f7 100644 --- a/source/lib/tests/common/CMakeLists.txt +++ b/source/lib/tests/common/CMakeLists.txt @@ -1,7 +1,7 @@ # # Tests for the common library # -project(rocprofiler-tests-common LANGUAGES C CXX) +project(rocprofiler-sdk-tests-common LANGUAGES C CXX) include(GoogleTest) diff --git a/source/scripts/leak-sanitizer-suppr.txt b/source/scripts/leak-sanitizer-suppr.txt index 771bf14a08..5c5bda1a34 100644 --- a/source/scripts/leak-sanitizer-suppr.txt +++ b/source/scripts/leak-sanitizer-suppr.txt @@ -8,3 +8,5 @@ leak:amdhip leak:python leak:hsa-amd-aqlprofile leak:__new_exitfn +leak:omptarget +leak:llvm diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 61537d142c..7afb1d9f2f 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -7,7 +7,7 @@ if(COMMAND rocprofiler_deactivate_clang_tidy) rocprofiler_deactivate_clang_tidy() endif() -project(rocprofiler-tests LANGUAGES C CXX) +project(rocprofiler-sdk-tests LANGUAGES C CXX) set(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME "tests") set(ROCPROFILER_SDK_TESTS_SOURCE_DIR "${PROJECT_SOURCE_DIR}") @@ -42,6 +42,12 @@ endif() # needed for validation find_package(Python3 REQUIRED) +# generally needed +find_package(rocprofiler-sdk REQUIRED) + +# get the gfx architectures that are present on the system +rocprofiler_sdk_get_gfx_architectures(rocprofiler-sdk-tests-gfx-info ECHO) + # configure python module /rocprofiler_sdk/pytest_utils add_subdirectory(pytest-packages) diff --git a/tests/async-copy-tracing/CMakeLists.txt b/tests/async-copy-tracing/CMakeLists.txt index eaa0e30dc1..3513b11372 100644 --- a/tests/async-copy-tracing/CMakeLists.txt +++ b/tests/async-copy-tracing/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) project( - rocprofiler-tests-async-copy-tracing + rocprofiler-sdk-tests-async-copy-tracing LANGUAGES CXX VERSION 0.0.0) diff --git a/tests/bin/CMakeLists.txt b/tests/bin/CMakeLists.txt index 5b51b7857d..05a6d0cfb8 100644 --- a/tests/bin/CMakeLists.txt +++ b/tests/bin/CMakeLists.txt @@ -3,7 +3,7 @@ # cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) -project(rocprofiler-tests-bin LANGUAGES C CXX) +project(rocprofiler-sdk-tests-bin LANGUAGES C CXX) set(CMAKE_BUILD_RPATH "\$ORIGIN:\$ORIGIN/../lib:$" diff --git a/tests/bin/hip-graph/CMakeLists.txt b/tests/bin/hip-graph/CMakeLists.txt index 1f699837fe..e4d984b68a 100644 --- a/tests/bin/hip-graph/CMakeLists.txt +++ b/tests/bin/hip-graph/CMakeLists.txt @@ -17,7 +17,7 @@ if(NOT CMAKE_HIP_COMPILER) endif() endif() -project(rocprofiler-tests-bin-hip-graph LANGUAGES CXX HIP) +project(rocprofiler-sdk-tests-bin-hip-graph LANGUAGES CXX HIP) foreach(_TYPE DEBUG MINSIZEREL RELEASE RELWITHDEBINFO) if("${CMAKE_HIP_FLAGS_${_TYPE}}" STREQUAL "") diff --git a/tests/bin/hip-in-libraries/CMakeLists.txt b/tests/bin/hip-in-libraries/CMakeLists.txt index 9695697ab9..d908704604 100644 --- a/tests/bin/hip-in-libraries/CMakeLists.txt +++ b/tests/bin/hip-in-libraries/CMakeLists.txt @@ -3,7 +3,7 @@ # cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) -project(rocprofiler-tests-bin-hip-in-libraries LANGUAGES CXX) +project(rocprofiler-sdk-tests-bin-hip-in-libraries LANGUAGES CXX) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_EXTENSIONS OFF) diff --git a/tests/bin/hsa-code-object/CMakeLists.txt b/tests/bin/hsa-code-object/CMakeLists.txt index a19e77c932..81c1ed0cf7 100644 --- a/tests/bin/hsa-code-object/CMakeLists.txt +++ b/tests/bin/hsa-code-object/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) -project(rocprofiler-tests-bin-hsa-code-object LANGUAGES CXX) +project(rocprofiler-sdk-tests-bin-hsa-code-object LANGUAGES CXX) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_EXTENSIONS OFF) diff --git a/tests/bin/hsa-queue-dependency/CMakeLists.txt b/tests/bin/hsa-queue-dependency/CMakeLists.txt index 35dbf316d1..992381501c 100644 --- a/tests/bin/hsa-queue-dependency/CMakeLists.txt +++ b/tests/bin/hsa-queue-dependency/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) -project(rocprofiler-tests-bin-hsa-multiqueue-dependency LANGUAGES CXX) +project(rocprofiler-sdk-tests-bin-hsa-multiqueue-dependency LANGUAGES CXX) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_EXTENSIONS OFF) diff --git a/tests/bin/multistream/CMakeLists.txt b/tests/bin/multistream/CMakeLists.txt index 147694b85c..13ef8dee31 100644 --- a/tests/bin/multistream/CMakeLists.txt +++ b/tests/bin/multistream/CMakeLists.txt @@ -17,7 +17,7 @@ if(NOT CMAKE_HIP_COMPILER) endif() endif() -project(rocprofiler-tests-bin-multistream LANGUAGES CXX HIP) +project(rocprofiler-sdk-tests-bin-multistream LANGUAGES CXX HIP) foreach(_TYPE DEBUG MINSIZEREL RELEASE RELWITHDEBINFO) if("${CMAKE_HIP_FLAGS_${_TYPE}}" STREQUAL "") diff --git a/tests/bin/openmp/CMakeLists.txt b/tests/bin/openmp/CMakeLists.txt index 1ba8f8673e..9ef3d0b9bf 100644 --- a/tests/bin/openmp/CMakeLists.txt +++ b/tests/bin/openmp/CMakeLists.txt @@ -19,7 +19,7 @@ if(NOT OMP_TARGET_COMPILER) endif() endif() -project(rocprofiler-tests-bin-openmp LANGUAGES CXX) +project(rocprofiler-sdk-tests-bin-openmp LANGUAGES CXX) find_package(rocprofiler-sdk REQUIRED) diff --git a/tests/bin/page-migration/CMakeLists.txt b/tests/bin/page-migration/CMakeLists.txt index e2f1b9f503..c7da350e91 100644 --- a/tests/bin/page-migration/CMakeLists.txt +++ b/tests/bin/page-migration/CMakeLists.txt @@ -17,7 +17,7 @@ if(NOT CMAKE_HIP_COMPILER) endif() endif() -project(rocprofiler-tests-bin-page-migration LANGUAGES CXX HIP) +project(rocprofiler-sdk-tests-bin-page-migration LANGUAGES CXX HIP) foreach(_TYPE DEBUG MINSIZEREL RELEASE RELWITHDEBINFO) if("${CMAKE_HIP_FLAGS_${_TYPE}}" STREQUAL "") diff --git a/tests/bin/pc-sampling/CMakeLists.txt b/tests/bin/pc-sampling/CMakeLists.txt index 505c80cfc5..3c80a093dd 100644 --- a/tests/bin/pc-sampling/CMakeLists.txt +++ b/tests/bin/pc-sampling/CMakeLists.txt @@ -3,7 +3,7 @@ # cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) -project(rocprofiler-tests-bin LANGUAGES C CXX) +project(rocprofiler-sdk-tests-bin-pc-sampling LANGUAGES C CXX) set(CMAKE_BUILD_RPATH "\$ORIGIN:\$ORIGIN/../lib") diff --git a/tests/bin/pc-sampling/exec-mask-manipulation/CMakeLists.txt b/tests/bin/pc-sampling/exec-mask-manipulation/CMakeLists.txt index 0a97752330..1e84318f63 100644 --- a/tests/bin/pc-sampling/exec-mask-manipulation/CMakeLists.txt +++ b/tests/bin/pc-sampling/exec-mask-manipulation/CMakeLists.txt @@ -17,7 +17,7 @@ if(NOT CMAKE_HIP_COMPILER) endif() endif() -project(rocprofiler-tests-bin-transpose LANGUAGES CXX HIP) +project(rocprofiler-sdk-tests-bin-pc-sampling-exec-mask-manipulation LANGUAGES CXX HIP) foreach(_TYPE DEBUG MINSIZEREL RELEASE RELWITHDEBINFO) if("${CMAKE_HIP_FLAGS_${_TYPE}}" STREQUAL "") diff --git a/tests/bin/reproducible-runtime/CMakeLists.txt b/tests/bin/reproducible-runtime/CMakeLists.txt index cec21661dd..721b1e190b 100644 --- a/tests/bin/reproducible-runtime/CMakeLists.txt +++ b/tests/bin/reproducible-runtime/CMakeLists.txt @@ -17,7 +17,7 @@ if(NOT CMAKE_HIP_COMPILER) endif() endif() -project(rocprofiler-tests-bin-reproducible-runtime LANGUAGES CXX HIP) +project(rocprofiler-sdk-tests-bin-reproducible-runtime LANGUAGES CXX HIP) if(NOT CMAKE_BUILD_TYPE MATCHES "(Release|RelWithDebInfo)") set(CMAKE_BUILD_TYPE "RelWithDebInfo") diff --git a/tests/bin/simple-transpose/CMakeLists.txt b/tests/bin/simple-transpose/CMakeLists.txt index 6b065f6abb..41f4954e79 100644 --- a/tests/bin/simple-transpose/CMakeLists.txt +++ b/tests/bin/simple-transpose/CMakeLists.txt @@ -17,7 +17,7 @@ if(NOT CMAKE_HIP_COMPILER) endif() endif() -project(rocprofiler-tests-bin-transpose LANGUAGES CXX HIP) +project(rocprofiler-sdk-tests-bin-simple-transpose LANGUAGES CXX HIP) foreach(_TYPE DEBUG MINSIZEREL RELEASE RELWITHDEBINFO) if("${CMAKE_HIP_FLAGS_${_TYPE}}" STREQUAL "") diff --git a/tests/bin/transpose/CMakeLists.txt b/tests/bin/transpose/CMakeLists.txt index 9f73d5560f..7d85195a9a 100644 --- a/tests/bin/transpose/CMakeLists.txt +++ b/tests/bin/transpose/CMakeLists.txt @@ -17,7 +17,7 @@ if(NOT CMAKE_HIP_COMPILER) endif() endif() -project(rocprofiler-tests-bin-transpose LANGUAGES CXX HIP) +project(rocprofiler-sdk-tests-bin-transpose LANGUAGES CXX HIP) foreach(_TYPE DEBUG MINSIZEREL RELEASE RELWITHDEBINFO) if("${CMAKE_HIP_FLAGS_${_TYPE}}" STREQUAL "") diff --git a/tests/bin/vector-operations/CMakeLists.txt b/tests/bin/vector-operations/CMakeLists.txt index c05b55e794..efd16ab04d 100644 --- a/tests/bin/vector-operations/CMakeLists.txt +++ b/tests/bin/vector-operations/CMakeLists.txt @@ -17,7 +17,7 @@ if(NOT CMAKE_HIP_COMPILER) endif() endif() -project(rocprofiler-tests-bin-vector-operations LANGUAGES CXX HIP) +project(rocprofiler-sdk-tests-bin-vector-operations LANGUAGES CXX HIP) foreach(_TYPE DEBUG MINSIZEREL RELEASE RELWITHDEBINFO) if("${CMAKE_HIP_FLAGS_${_TYPE}}" STREQUAL "") diff --git a/tests/c-tool/CMakeLists.txt b/tests/c-tool/CMakeLists.txt index 46a29211eb..6f9ba961f9 100644 --- a/tests/c-tool/CMakeLists.txt +++ b/tests/c-tool/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) project( - rocprofiler-tests-c-tool + rocprofiler-sdk-tests-c-tool LANGUAGES CXX VERSION 0.0.0) diff --git a/tests/conversion-script/CMakeLists.txt b/tests/conversion-script/CMakeLists.txt index 14ad4ea6f2..af96876f39 100644 --- a/tests/conversion-script/CMakeLists.txt +++ b/tests/conversion-script/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) project( - rocprofiler-tests-conversion-script + rocprofiler-sdk-tests-conversion-script LANGUAGES CXX VERSION 0.0.0) diff --git a/tests/counter-collection/CMakeLists.txt b/tests/counter-collection/CMakeLists.txt index f405f6e18b..eedcf18445 100644 --- a/tests/counter-collection/CMakeLists.txt +++ b/tests/counter-collection/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) project( - rocprofiler-tests-counter-collection + rocprofiler-sdk-tests-counter-collection LANGUAGES CXX VERSION 0.0.0) diff --git a/tests/hip-graph-tracing/CMakeLists.txt b/tests/hip-graph-tracing/CMakeLists.txt index 38d5214f45..71b57d01b4 100644 --- a/tests/hip-graph-tracing/CMakeLists.txt +++ b/tests/hip-graph-tracing/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) project( - rocprofiler-tests-hip-graph-tracing + rocprofiler-sdk-tests-hip-graph-tracing LANGUAGES CXX VERSION 0.0.0) diff --git a/tests/hsa-memory-allocation/CMakeLists.txt b/tests/hsa-memory-allocation/CMakeLists.txt index 987e30a11f..662af95376 100644 --- a/tests/hsa-memory-allocation/CMakeLists.txt +++ b/tests/hsa-memory-allocation/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) project( - rocprofiler-tests-memory-allocation-tracing + rocprofiler-sdk-tests-memory-allocation-tracing LANGUAGES CXX VERSION 0.0.0) diff --git a/tests/kernel-tracing/CMakeLists.txt b/tests/kernel-tracing/CMakeLists.txt index 2e49494c64..5363702bad 100644 --- a/tests/kernel-tracing/CMakeLists.txt +++ b/tests/kernel-tracing/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) project( - rocprofiler-tests-kernel-tracing + rocprofiler-sdk-tests-kernel-tracing LANGUAGES CXX VERSION 0.0.0) diff --git a/tests/lib/CMakeLists.txt b/tests/lib/CMakeLists.txt index cc17a27f5f..39b37f26d0 100644 --- a/tests/lib/CMakeLists.txt +++ b/tests/lib/CMakeLists.txt @@ -3,7 +3,7 @@ # cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) -project(rocprofiler-tests-lib LANGUAGES C CXX) +project(rocprofiler-sdk-tests-lib LANGUAGES C CXX) set(CMAKE_BUILD_RPATH "\$ORIGIN:\$ORIGIN/../lib") diff --git a/tests/lib/transpose/CMakeLists.txt b/tests/lib/transpose/CMakeLists.txt index afa4baf173..66c230a97c 100644 --- a/tests/lib/transpose/CMakeLists.txt +++ b/tests/lib/transpose/CMakeLists.txt @@ -17,7 +17,7 @@ if(NOT CMAKE_HIP_COMPILER) endif() endif() -project(rocprofiler-tests-lib-transpose-shared-library LANGUAGES CXX HIP) +project(rocprofiler-sdk-tests-lib-transpose-shared-library LANGUAGES CXX HIP) foreach(_TYPE DEBUG MINSIZEREL RELEASE RELWITHDEBINFO) if("${CMAKE_HIP_FLAGS_${_TYPE}}" STREQUAL "") diff --git a/tests/lib/vector-operations/CMakeLists.txt b/tests/lib/vector-operations/CMakeLists.txt index ed2ec80c0b..e212ba84ed 100644 --- a/tests/lib/vector-operations/CMakeLists.txt +++ b/tests/lib/vector-operations/CMakeLists.txt @@ -17,7 +17,7 @@ if(NOT CMAKE_HIP_COMPILER) endif() endif() -project(rocprofiler-tests-lib-vector-operations LANGUAGES CXX HIP) +project(rocprofiler-sdk-tests-lib-vector-operations LANGUAGES CXX HIP) foreach(_TYPE DEBUG MINSIZEREL RELEASE RELWITHDEBINFO) if("${CMAKE_HIP_FLAGS_${_TYPE}}" STREQUAL "") diff --git a/tests/openmp-tools/CMakeLists.txt b/tests/openmp-tools/CMakeLists.txt index ab62cdf8d9..8611824023 100644 --- a/tests/openmp-tools/CMakeLists.txt +++ b/tests/openmp-tools/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) project( - rocprofiler-tests-openmp-tools + rocprofiler-sdk-tests-openmp-tools LANGUAGES CXX VERSION 0.0.0) @@ -26,9 +26,15 @@ set(ROCPROFILER_MEMCHECK_TYPES "ThreadSanitizer" "AddressSanitizer" "UndefinedBehaviorSanitizer") if(ROCPROFILER_MEMCHECK AND ROCPROFILER_MEMCHECK IN_LIST ROCPROFILER_MEMCHECK_TYPES) - set(IS_SANITIZER ON) + set(IS_DISABLED ON) else() - set(IS_SANITIZER OFF) + set(IS_DISABLED OFF) +endif() + +# disable when GPU-0 is navi2, navi3, and navi4 +list(GET rocprofiler-sdk-tests-gfx-info 0 openmp-tools-gpu-0-gfx-info) +if("${openmp-tools-gpu-0-gfx-info}" MATCHES "^gfx(10|11|12)[0-9][0-9]$") + set(IS_DISABLED ON) endif() add_test(NAME test-openmp-tools-execute COMMAND $) @@ -54,7 +60,7 @@ set_tests_properties( FAIL_REGULAR_EXPRESSION "${ROCPROFILER_DEFAULT_FAIL_REGEX}" DISABLED - "${IS_SANITIZER}") + "${IS_DISABLED}") # copy to binary directory rocprofiler_configure_pytest_files(COPY validate.py conftest.py CONFIG pytest.ini) @@ -75,4 +81,4 @@ set_tests_properties( FAIL_REGULAR_EXPRESSION "${ROCPROFILER_DEFAULT_FAIL_REGEX}" DISABLED - "${IS_SANITIZER}") + "${IS_DISABLED}") diff --git a/tests/page-migration/CMakeLists.txt b/tests/page-migration/CMakeLists.txt index d5caa5ef75..c09d4131d8 100644 --- a/tests/page-migration/CMakeLists.txt +++ b/tests/page-migration/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) project( - rocprofiler-tests-page-migration + rocprofiler-sdk-tests-page-migration LANGUAGES CXX VERSION 0.0.0) diff --git a/tests/pytest-packages/pytest_utils/perfetto_reader.py b/tests/pytest-packages/pytest_utils/perfetto_reader.py index 12773927ec..22b7ac6611 100644 --- a/tests/pytest-packages/pytest_utils/perfetto_reader.py +++ b/tests/pytest-packages/pytest_utils/perfetto_reader.py @@ -780,7 +780,7 @@ class PerfettoReader: # f"{_stack_id} already exists in track_id_dict[{_tp_index}][{_rank}][{_thread}]. failed to set:\n {hnode.frame} (current)\n {_existing.frame} (existing)" # ) - _hash = hash((_tp_index, _slice_id)) + _hash = hash((_tp_index, _slice_id, _track_id)) if _hash in callpath_to_node: raise ValueError(f"{_hash} already exists in callpath_to_node dict") diff --git a/tests/rocdecode/CMakeLists.txt b/tests/rocdecode/CMakeLists.txt index ea8def0ca4..7406ba00ca 100644 --- a/tests/rocdecode/CMakeLists.txt +++ b/tests/rocdecode/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) project( - rocprofiler-tests-rocdecode-tracing + rocprofiler-sdk-tests-rocdecode-tracing LANGUAGES CXX VERSION 0.0.0) diff --git a/tests/rocjpeg/CMakeLists.txt b/tests/rocjpeg/CMakeLists.txt index f7756123d5..a2896e413e 100644 --- a/tests/rocjpeg/CMakeLists.txt +++ b/tests/rocjpeg/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) project( - rocprofiler-tests-rocjpeg-tracing + rocprofiler-sdk-tests-rocjpeg-tracing LANGUAGES CXX VERSION 0.0.0) diff --git a/tests/rocprofv3/aborted-app/CMakeLists.txt b/tests/rocprofv3/aborted-app/CMakeLists.txt index 4d4720d364..58bd9f6650 100644 --- a/tests/rocprofv3/aborted-app/CMakeLists.txt +++ b/tests/rocprofv3/aborted-app/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) project( - rocprofiler-tests-aborted-app + rocprofiler-sdk-tests-aborted-app LANGUAGES CXX VERSION 0.0.0) diff --git a/tests/rocprofv3/advanced-thread-trace/CMakeLists.txt b/tests/rocprofv3/advanced-thread-trace/CMakeLists.txt index 4d224c94be..dcfcb172a2 100644 --- a/tests/rocprofv3/advanced-thread-trace/CMakeLists.txt +++ b/tests/rocprofv3/advanced-thread-trace/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) project( - rocprofiler-tests-rocprofv3-att + rocprofiler-sdk-tests-rocprofv3-att LANGUAGES CXX VERSION 0.0.0) @@ -18,8 +18,6 @@ find_package(rocprofiler-sdk REQUIRED) # hsa multiqueue dependency test -message("Add rocprofv3-test-hsa-multiqueue-att-cmd-env-ld-lib-path-execute") - add_test( NAME rocprofv3-test-hsa-multiqueue-att-cmd-env-ld-lib-path-execute COMMAND diff --git a/tests/rocprofv3/agent-index/CMakeLists.txt b/tests/rocprofv3/agent-index/CMakeLists.txt index ab7a7f0fb1..46cf1877c0 100644 --- a/tests/rocprofv3/agent-index/CMakeLists.txt +++ b/tests/rocprofv3/agent-index/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) project( - rocprofiler-tests-rocprofv3-agent-index + rocprofiler-sdk-tests-rocprofv3-agent-index LANGUAGES CXX VERSION 0.0.0) diff --git a/tests/rocprofv3/collection-period/CMakeLists.txt b/tests/rocprofv3/collection-period/CMakeLists.txt index ea26ea59f4..9633d720f8 100644 --- a/tests/rocprofv3/collection-period/CMakeLists.txt +++ b/tests/rocprofv3/collection-period/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) project( - rocprofiler-tests-rocprofv3-collection-period + rocprofiler-sdk-tests-rocprofv3-collection-period LANGUAGES CXX VERSION 0.0.0) diff --git a/tests/rocprofv3/counter-collection/extra_counters/CMakeLists.txt b/tests/rocprofv3/counter-collection/extra_counters/CMakeLists.txt index ee838c0a46..8919fb8b6f 100644 --- a/tests/rocprofv3/counter-collection/extra_counters/CMakeLists.txt +++ b/tests/rocprofv3/counter-collection/extra_counters/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) project( - rocprofiler-tests-counter-collection + rocprofiler-sdk-tests-counter-collection-list-metrics LANGUAGES CXX VERSION 0.0.0) diff --git a/tests/rocprofv3/counter-collection/input1/CMakeLists.txt b/tests/rocprofv3/counter-collection/input1/CMakeLists.txt index c7fd24b13b..541ce42bc4 100644 --- a/tests/rocprofv3/counter-collection/input1/CMakeLists.txt +++ b/tests/rocprofv3/counter-collection/input1/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) project( - rocprofiler-tests-counter-collection + rocprofiler-sdk-tests-counter-collection-input1 LANGUAGES CXX VERSION 0.0.0) diff --git a/tests/rocprofv3/counter-collection/input2/CMakeLists.txt b/tests/rocprofv3/counter-collection/input2/CMakeLists.txt index 15783e617a..4d737b3b93 100644 --- a/tests/rocprofv3/counter-collection/input2/CMakeLists.txt +++ b/tests/rocprofv3/counter-collection/input2/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) project( - rocprofiler-tests-counter-collection + rocprofiler-sdk-tests-counter-collection-input2 LANGUAGES CXX VERSION 0.0.0) diff --git a/tests/rocprofv3/counter-collection/input3/CMakeLists.txt b/tests/rocprofv3/counter-collection/input3/CMakeLists.txt index 9273c385c4..26b1037709 100644 --- a/tests/rocprofv3/counter-collection/input3/CMakeLists.txt +++ b/tests/rocprofv3/counter-collection/input3/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) project( - rocprofiler-tests-counter-collection + rocprofiler-sdk-tests-counter-collection-input3 LANGUAGES CXX VERSION 0.0.0) diff --git a/tests/rocprofv3/counter-collection/kernel_filtering/CMakeLists.txt b/tests/rocprofv3/counter-collection/kernel_filtering/CMakeLists.txt index b7a821e19d..61e729be45 100644 --- a/tests/rocprofv3/counter-collection/kernel_filtering/CMakeLists.txt +++ b/tests/rocprofv3/counter-collection/kernel_filtering/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) project( - rocprofiler-tests-counter-collection + rocprofiler-sdk-tests-counter-collection-kernel-filtering LANGUAGES CXX VERSION 0.0.0) diff --git a/tests/rocprofv3/counter-collection/list_metrics/CMakeLists.txt b/tests/rocprofv3/counter-collection/list_metrics/CMakeLists.txt index 7775c8a156..8ad2b48761 100644 --- a/tests/rocprofv3/counter-collection/list_metrics/CMakeLists.txt +++ b/tests/rocprofv3/counter-collection/list_metrics/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) project( - rocprofiler-tests-counter-collection + rocprofiler-sdk-tests-counter-collection-list-metrics LANGUAGES CXX VERSION 0.0.0) diff --git a/tests/rocprofv3/counter-collection/multiplex/CMakeLists.txt b/tests/rocprofv3/counter-collection/multiplex/CMakeLists.txt index b683e62ef6..825bc80239 100644 --- a/tests/rocprofv3/counter-collection/multiplex/CMakeLists.txt +++ b/tests/rocprofv3/counter-collection/multiplex/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) project( - rocprofiler-tests-counter-collection + rocprofiler-sdk-tests-counter-collection-multiplex LANGUAGES CXX VERSION 0.0.0) diff --git a/tests/rocprofv3/counter-collection/range_filtering/CMakeLists.txt b/tests/rocprofv3/counter-collection/range_filtering/CMakeLists.txt index f06a41ace0..e0ccef39d1 100644 --- a/tests/rocprofv3/counter-collection/range_filtering/CMakeLists.txt +++ b/tests/rocprofv3/counter-collection/range_filtering/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) project( - rocprofiler-tests-counter-collection + rocprofiler-sdk-tests-counter-collection-range-filtering LANGUAGES CXX VERSION 0.0.0) diff --git a/tests/rocprofv3/hip-stream-display/CMakeLists.txt b/tests/rocprofv3/hip-stream-display/CMakeLists.txt index c9d45d3017..1ff103973e 100644 --- a/tests/rocprofv3/hip-stream-display/CMakeLists.txt +++ b/tests/rocprofv3/hip-stream-display/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) project( - rocprofiler-tests-rocprofv3-hip-stream-display + rocprofiler-sdk-tests-rocprofv3-hip-stream-display LANGUAGES CXX VERSION 0.0.0) diff --git a/tests/rocprofv3/hsa-queue-dependency/CMakeLists.txt b/tests/rocprofv3/hsa-queue-dependency/CMakeLists.txt index 444018e383..9c50cb8ca5 100644 --- a/tests/rocprofv3/hsa-queue-dependency/CMakeLists.txt +++ b/tests/rocprofv3/hsa-queue-dependency/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) project( - rocprofiler-tests-rocprofv3-hsa-queue-tracing + rocprofiler-sdk-tests-rocprofv3-hsa-queue-tracing LANGUAGES CXX VERSION 0.0.0) diff --git a/tests/rocprofv3/kernel-rename/CMakeLists.txt b/tests/rocprofv3/kernel-rename/CMakeLists.txt index 0086813139..dc4982a7f0 100644 --- a/tests/rocprofv3/kernel-rename/CMakeLists.txt +++ b/tests/rocprofv3/kernel-rename/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) project( - rocprofiler-tests-rocprofv3-kernel-rename + rocprofiler-sdk-tests-rocprofv3-kernel-rename LANGUAGES CXX VERSION 0.0.0) diff --git a/tests/rocprofv3/memory-allocation/CMakeLists.txt b/tests/rocprofv3/memory-allocation/CMakeLists.txt index 9a42261caf..f63a01a1a6 100644 --- a/tests/rocprofv3/memory-allocation/CMakeLists.txt +++ b/tests/rocprofv3/memory-allocation/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) project( - rocprofiler-tests-rocprofv3-memory-allocation-tracing + rocprofiler-sdk-tests-rocprofv3-memory-allocation-tracing LANGUAGES CXX VERSION 0.0.0) diff --git a/tests/rocprofv3/pc-sampling/host-trap/exec-mask-manipulation/CMakeLists.txt b/tests/rocprofv3/pc-sampling/host-trap/exec-mask-manipulation/CMakeLists.txt index 160475fad4..06f8926d0c 100644 --- a/tests/rocprofv3/pc-sampling/host-trap/exec-mask-manipulation/CMakeLists.txt +++ b/tests/rocprofv3/pc-sampling/host-trap/exec-mask-manipulation/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) project( - rocprofiler-tests-pc-sampling + rocprofiler-sdk-tests-pc-sampling-host-trap-exec-mask-manipulation LANGUAGES CXX VERSION 0.0.0) diff --git a/tests/rocprofv3/pc-sampling/host-trap/transpose-multiple-agents/CMakeLists.txt b/tests/rocprofv3/pc-sampling/host-trap/transpose-multiple-agents/CMakeLists.txt index b8a09cd28a..2e83a69b04 100644 --- a/tests/rocprofv3/pc-sampling/host-trap/transpose-multiple-agents/CMakeLists.txt +++ b/tests/rocprofv3/pc-sampling/host-trap/transpose-multiple-agents/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) project( - rocprofiler-tests-pc-sampling + rocprofiler-sdk-tests-pc-sampling-host-trap-transpose-multiple-agents LANGUAGES CXX VERSION 0.0.0) diff --git a/tests/rocprofv3/rocdecode-trace/CMakeLists.txt b/tests/rocprofv3/rocdecode-trace/CMakeLists.txt index 76e0fae647..2eec4a41bd 100644 --- a/tests/rocprofv3/rocdecode-trace/CMakeLists.txt +++ b/tests/rocprofv3/rocdecode-trace/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) project( - rocprofiler-tests-rocprofv3-rocdecode-tracing + rocprofiler-sdk-tests-rocprofv3-rocdecode-tracing LANGUAGES CXX VERSION 0.0.0) diff --git a/tests/rocprofv3/rocjpeg-trace/CMakeLists.txt b/tests/rocprofv3/rocjpeg-trace/CMakeLists.txt index d13ca7fedd..0ae519c018 100644 --- a/tests/rocprofv3/rocjpeg-trace/CMakeLists.txt +++ b/tests/rocprofv3/rocjpeg-trace/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) project( - rocprofiler-tests-rocprofv3-rocjpeg-tracing + rocprofiler-sdk-tests-rocprofv3-rocjpeg-tracing LANGUAGES CXX VERSION 0.0.0) diff --git a/tests/rocprofv3/roctracer-roctx/CMakeLists.txt b/tests/rocprofv3/roctracer-roctx/CMakeLists.txt index b327c4010b..cfb877405c 100644 --- a/tests/rocprofv3/roctracer-roctx/CMakeLists.txt +++ b/tests/rocprofv3/roctracer-roctx/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) project( - rocprofiler-tests-roctracer-roctx-tracing + rocprofiler-sdk-tests-rocprofv3-roctracer-roctx-tracing LANGUAGES CXX VERSION 0.0.0) diff --git a/tests/rocprofv3/scratch-memory/CMakeLists.txt b/tests/rocprofv3/scratch-memory/CMakeLists.txt index 219a46d2fe..8166adebab 100644 --- a/tests/rocprofv3/scratch-memory/CMakeLists.txt +++ b/tests/rocprofv3/scratch-memory/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) project( - rocprofiler-tests-rocprofv3-scratch-memory-tracing + rocprofiler-sdk-tests-rocprofv3-scratch-memory-tracing LANGUAGES CXX VERSION 0.0.0) diff --git a/tests/rocprofv3/summary/CMakeLists.txt b/tests/rocprofv3/summary/CMakeLists.txt index af386991a9..221b80f4e3 100644 --- a/tests/rocprofv3/summary/CMakeLists.txt +++ b/tests/rocprofv3/summary/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) project( - rocprofiler-tests-rocprofv3-summary + rocprofiler-sdk-tests-rocprofv3-summary LANGUAGES CXX VERSION 0.0.0) diff --git a/tests/rocprofv3/tracing-hip-in-libraries/CMakeLists.txt b/tests/rocprofv3/tracing-hip-in-libraries/CMakeLists.txt index 0d6d033b7d..813f92baae 100644 --- a/tests/rocprofv3/tracing-hip-in-libraries/CMakeLists.txt +++ b/tests/rocprofv3/tracing-hip-in-libraries/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) project( - rocprofiler-tests-rocprofv3-tracing-hip-in-libraries + rocprofiler-sdk-tests-rocprofv3-tracing-hip-in-libraries LANGUAGES CXX VERSION 0.0.0) diff --git a/tests/rocprofv3/tracing-plus-counter-collection/CMakeLists.txt b/tests/rocprofv3/tracing-plus-counter-collection/CMakeLists.txt index ecf571941f..6f7970e718 100644 --- a/tests/rocprofv3/tracing-plus-counter-collection/CMakeLists.txt +++ b/tests/rocprofv3/tracing-plus-counter-collection/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) project( - rocprofiler-tests-counter-collection + rocprofiler-sdk-tests-rocprofv3-tracing-plus-counter-collection LANGUAGES CXX VERSION 0.0.0) diff --git a/tests/rocprofv3/tracing/CMakeLists.txt b/tests/rocprofv3/tracing/CMakeLists.txt index 5b6c7cdff4..4789dd1cb2 100644 --- a/tests/rocprofv3/tracing/CMakeLists.txt +++ b/tests/rocprofv3/tracing/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) project( - rocprofiler-tests-rocprofv3-tracing + rocprofiler-sdk-tests-rocprofv3-tracing LANGUAGES CXX VERSION 0.0.0) diff --git a/tests/scratch-memory-tracing/CMakeLists.txt b/tests/scratch-memory-tracing/CMakeLists.txt index a080039c25..04f0070198 100644 --- a/tests/scratch-memory-tracing/CMakeLists.txt +++ b/tests/scratch-memory-tracing/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) project( - rocprofiler-tests-scratch-memory-tracing + rocprofiler-sdk-tests-scratch-memory-tracing LANGUAGES CXX VERSION 0.0.0) diff --git a/tests/thread-trace/CMakeLists.txt b/tests/thread-trace/CMakeLists.txt index be2aee55ee..697112ab43 100644 --- a/tests/thread-trace/CMakeLists.txt +++ b/tests/thread-trace/CMakeLists.txt @@ -18,7 +18,7 @@ if(NOT CMAKE_HIP_COMPILER) endif() project( - rocprofiler-tests-thread-trace + rocprofiler-sdk-tests-thread-trace LANGUAGES CXX HIP VERSION 0.0.0) diff --git a/tests/tools/CMakeLists.txt b/tests/tools/CMakeLists.txt index 7ba1985288..998ea16031 100644 --- a/tests/tools/CMakeLists.txt +++ b/tests/tools/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR) project( - rocprofiler-tests-json-tool + rocprofiler-sdk-tests-tools LANGUAGES C CXX VERSION 0.0.0)