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 4, 2024
1 parent b9f6fb9 commit f4a2f55
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/rocprof-sys-openmp-tests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,16 @@ 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 f4a2f55

Please sign in to comment.