Skip to content

Commit 320928c

Browse files
committed
Exclude headers with SYCL kernels from the coverage report
1 parent fc14877 commit 320928c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/gen_coverage.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ def find_objects():
146146
"export",
147147
"-format=lcov",
148148
"-ignore-filename-regex=/tmp/icpx*",
149+
r"-ignore-filename-regex=.*/backend/kernels/elementwise_functions/.*\.hpp$",
149150
"-instr-profile=" + instr_profile_fn,
150151
]
151152
+ objects

0 commit comments

Comments
 (0)