Skip to content

Commit 028f0c1

Browse files
authored
[E2E] fix check in Matrix/lit.local.cfg (#19061)
arch-intel_gpu_pvc is not a part of available_features when the lit.local.cfg file is executed. This led to Matrix tests not being skiped on PVC for V2 as expected. Fix this by parsing config.sycl_dev_features, similarly to MemorySanitizer/lit.local.cfg
1 parent b643b8b commit 028f0c1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ if 'windows' in config.available_features:
88
config.unsupported_features += ['arch-intel_gpu_bmg_g21']
99

1010
# https://github.com/intel/llvm/issues/18932
11-
if 'arch-intel_gpu_pvc' in config.available_features:
11+
has_arch_gpu_intel_pvc = any('arch-intel_gpu_pvc' in T for T in config.sycl_dev_features.values())
12+
if has_arch_gpu_intel_pvc:
1213
config.unsupported_features += ['level_zero_v2_adapter']
1314

1415
config.substitutions.append(("%helper-includes", "-I {}/Inputs".format(os.path.dirname(os.path.abspath(__file__)))))

0 commit comments

Comments
 (0)