Adding GPU index as a parameter for ATT (#547)
* Adding GPU index as a parameter for ATT
* Tidy fix
* Using tokenize
* Update tests/rocprofv3/advanced-thread-trace/CMakeLists.txt
Co-authored-by: Indic, Vladimir <Vladimir.Indic@amd.com>
* Update tests/rocprofv3/advanced-thread-trace/CMakeLists.txt
* Adding error logging. Using idx instead of id.
---------
Co-authored-by: Giovanni <gbaraldi@amd.com>
Co-authored-by: Indic, Vladimir <Vladimir.Indic@amd.com>
[ROCm/rocprofiler-sdk commit: fd6f96ffb5]
This commit is contained in:
committed by
GitHub
parent
6b2a4fcfc2
commit
6a6b16be93
@@ -253,3 +253,31 @@ set_tests_properties(
|
||||
rocprofv3-test-att-plus-pc-sampling
|
||||
PROPERTIES TIMEOUT 90 LABELS "integration-tests;thread-trace;pc-sampling" DISABLED
|
||||
${ATT_PLUS_PCS_DISABLE})
|
||||
|
||||
# Trace two GPUs
|
||||
add_test(NAME rocprofv3-test-att-gpu-index-two-gpus
|
||||
COMMAND $<TARGET_FILE:rocprofiler-sdk::rocprofv3> ${COMMON_PARAMS}/cmd_input -o
|
||||
out --att-gpu-index 0,1 -- $<TARGET_FILE:vector-ops>)
|
||||
|
||||
set_tests_properties(
|
||||
rocprofv3-test-att-gpu-index-two-gpus
|
||||
PROPERTIES TIMEOUT 45 LABELS "integration-tests" DISABLED ${IS_DISABLED})
|
||||
|
||||
# No machine has gpu index = 9999
|
||||
add_test(NAME rocprofv3-test-att-gpu-index-will-fail
|
||||
COMMAND $<TARGET_FILE:rocprofiler-sdk::rocprofv3> ${COMMON_PARAMS}/cmd_input -o
|
||||
out --att-gpu-index 0,9999 -- $<TARGET_FILE:vector-ops>)
|
||||
|
||||
# The FAIL regex for this test is the ROCP_ERROR specific to invalid device index
|
||||
set_tests_properties(
|
||||
rocprofv3-test-att-gpu-index-will-fail
|
||||
PROPERTIES TIMEOUT
|
||||
45
|
||||
LABELS
|
||||
"integration-tests"
|
||||
DISABLED
|
||||
${IS_DISABLED}
|
||||
WILL_FAIL
|
||||
True
|
||||
FAIL_REGULAR_EXPRESSION
|
||||
"Invalid GPU Device Index")
|
||||
|
||||
Reference in New Issue
Block a user