Roctracer perfetto flow fixes (#267)
* testing label updates
- automatically add "gpu", "roctracer", "rocm-smi", and "rocprofiler" test labels when appropriate
* Bump version to v1.9.1
* roctracer and config updates
- fix perfetto::Flow
- use roctracer correlation ID instead of critical trace correlation ID
- renamed ambiguous _cid, _parent_cid, _corr_id variables to _crit_cid, _parent_crit_cid, _roct_cid
- use atomic_{mutex,lock} instead of STL mutex/lock
- support for individual perfetto annotations for HIP API args
- OMNITRACE_PERFETTO_COMPACT_ROCTRACER_ANNOTATIONS option for controlling compact vs. individual perfetto annotations for HIP API args
* Update timemory submodule
- argparser updates
- help prints to std::cout by default now
- supports setting custom ostream
* cmake formatting
* config::get_setting_value updates
- config::get_setting_value returns std::optional instead of std::pair<bool, Tp>
This commit is contained in:
zatwierdzone przez
GitHub
rodzic
9eafb23602
commit
279a8e0952
@@ -351,6 +351,13 @@ function(OMNITRACE_ADD_TEST)
|
||||
"${_KWARGS}"
|
||||
${ARGN})
|
||||
|
||||
foreach(_PREFIX PRELOAD RUNTIME REWRITE REWRITE_RUN BASELINE)
|
||||
if("${${_PREFIX}_FAIL_REGEX}" STREQUAL "")
|
||||
set(${_PREFIX}_FAIL_REGEX
|
||||
"(### ERROR ###|address of faulting memory reference)")
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
if(TEST_GPU AND NOT _VALID_GPU)
|
||||
omnitrace_message(STATUS
|
||||
"${TEST_NAME} requires a GPU and no valid GPUs were found")
|
||||
@@ -390,6 +397,33 @@ function(OMNITRACE_ADD_TEST)
|
||||
|
||||
list(APPEND TEST_ENVIRONMENT "OMNITRACE_CI=ON")
|
||||
|
||||
if(TEST_GPU)
|
||||
list(APPEND TEST_LABELS "gpu")
|
||||
|
||||
if(NOT "OMNITRACE_USE_ROCTRACER=OFF" IN_LIST TEST_ENVIRONMENT)
|
||||
list(APPEND TEST_LABELS "roctracer")
|
||||
endif()
|
||||
|
||||
if(NOT "OMNITRACE_USE_ROCM_SMI=OFF" IN_LIST TEST_ENVIRONMENT)
|
||||
list(APPEND TEST_LABELS "rocm-smi")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if("OMNITRACE_USE_ROCTRACER=ON" IN_LIST TEST_ENVIRONMENT AND NOT "roctracer" IN_LIST
|
||||
TEST_ENVIRONMENT)
|
||||
list(APPEND TEST_LABELS "roctracer")
|
||||
endif()
|
||||
|
||||
if("OMNITRACE_USE_ROCM_SMI=ON" IN_LIST TEST_ENVIRONMENT AND NOT "rocm-smi" IN_LIST
|
||||
TEST_ENVIRONMENT)
|
||||
list(APPEND TEST_LABELS "rocm-smi")
|
||||
endif()
|
||||
|
||||
if("OMNITRACE_USE_ROCPROFILER=ON" IN_LIST TEST_ENVIRONMENT
|
||||
AND NOT "rocprofiler" IN_LIST TEST_ENVIRONMENT)
|
||||
list(APPEND TEST_LABELS "rocprofiler")
|
||||
endif()
|
||||
|
||||
if(TARGET ${TEST_TARGET})
|
||||
if(DEFINED TEST_MPI
|
||||
AND ${TEST_MPI}
|
||||
|
||||
Reference in New Issue
Block a user