[CI] Miscellaneous Testing Updates (#305)
* 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>
Este commit está contenido en:
1 padre
b01465303b
commit
2d072f9217
69 files changed
+163
-81
No files matched your search
@@ -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}")
|
||||
Reference in new issue
Block a user