File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ if 'gpu-intel-gen9' in config.available_features and platform.system() == 'Windo
11
11
# so there's no difference in coverage.
12
12
# We should investigate why OCL fails separately.
13
13
14
- # GPUs to disable ESIMD tests for OpenCL backend.
15
- gpus_requiring_l0 = [ ' gpu-intel-dg2 ' , ' gpu-intel-pvc ' ]
14
+ # Check if any device has arch-intel_gpu_pvc
15
+ has_arch_gpu_intel_pvc = any( ' arch-intel_gpu_pvc ' in T for T in config.sycl_dev_features.values())
16
16
17
- if set(gpus_requiring_l0) & set( config.available_features) :
17
+ if ' gpu-intel-dg2 ' in config.available_features or has_arch_gpu_intel_pvc :
18
18
config.required_features += [' level_zero' ]
19
19
20
20
# TODO: Remove this once the warnings are resolved
Original file line number Diff line number Diff line change 159
159
config .available_features .add (
160
160
"matrix-tf32"
161
161
) # PVC implies the support of TF32 matrix
162
- config .available_features .add ("gpu-intel-pvc" )
163
162
if lit_config .params .get ("gpu-intel-pvc-vg" , False ):
164
163
config .available_features .add ("gpu-intel-pvc-vg" )
165
164
config .available_features .add (
You can’t perform that action at this time.
0 commit comments