Skip to content

Commit ed9eb8f

Browse files
committed
[DevMSAN] Only run device memory sanitizer tests on CPU and GPU PVC
1 parent ecaab93 commit ed9eb8f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

sycl/test-e2e/MemorySanitizer/lit.local.cfg

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
has_arch_gpu_intel_pvc = any('arch-intel_gpu_pvc' in T for T in config.sycl_dev_features.values())
2+
3+
if not has_arch_gpu_intel_pvc:
4+
config.unsupported_features += ['gpu']
5+
16
config.substitutions.append(
27
("%device_msan_flags", "-Xarch_device -fsanitize=memory")
38
)

0 commit comments

Comments
 (0)