Skip to content

Commit 80845dc

Browse files
committed
adding a suppression file
1 parent e2dfeca commit 80845dc

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

.gitlab/jobs/tioga.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,8 @@ rocmcc_7_2_1_hip_memleak:
5454
variables:
5555
SPEC: "~shared +asan +sanitizer_tests +tools +rocm tests=basic amdgpu_target=gfx90a:xnack+ cxxflags==\"-fsanitize=address\" %rocmcc@7.2.1 ^hip@7.2.1"
5656
ASAN_OPTIONS: "detect_leaks=1"
57+
# ROCm's HSA runtime retains internal process-lifetime allocations.
58+
# Expand CI_PROJECT_DIR so every CTest child, including BLT HIP tests,
59+
# receives the same narrowly scoped LeakSanitizer suppression.
60+
LSAN_OPTIONS: "suppressions=${CI_PROJECT_DIR}/tests/tools/sanitizers/hip_lsan.supp"
5761
extends: .job_on_tioga
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# ROCm 7.2's HSA runtime retains process-lifetime bookkeeping allocations.
2+
#
3+
# Keep LeakSanitizer enabled for Umpire allocations. This rule is deliberately
4+
# limited to allocation stacks containing the HSA runtime library so that it
5+
# suppresses only the external HIP/HSA runtime leaks seen in HIP test jobs.
6+
leak:libhsa-runtime64.so.1

0 commit comments

Comments
 (0)