Skip to content

Commit

Permalink
Add test for ompt-target
Browse files Browse the repository at this point in the history
  • Loading branch information
dgaliffiAMD committed Dec 3, 2024
1 parent 7580eb9 commit 886680f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/rocprof-sys-openmp-tests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,15 @@ rocprofiler_systems_add_test(
REWRITE_RUN_PASS_REGEX "${_OMPT_PASS_REGEX}"
REWRITE_FAIL_REGEX "0 instrumented loops in procedure")

rocprofiler_systems_add_test(
SKIP_RUNTIME SKIP_REWRITE
NAME openmp-target
TARGET openmp-target
GPU ON
LABELS "openmp;openmp-target"
ENVIRONMENT
"${_ompt_environment};ROCPROFSYS_ROCTRACER_HSA_ACTIVITY=OFF;ROCPROFSYS_ROCTRACER_HSA_API=OFF")

set(_ompt_sampling_environ
"${_ompt_environment}"
"ROCPROFSYS_VERBOSE=2"
Expand Down

0 comments on commit 886680f

Please sign in to comment.