File tree Expand file tree Collapse file tree 5 files changed +19
-4
lines changed Expand file tree Collapse file tree 5 files changed +19
-4
lines changed Original file line number Diff line number Diff line change 6
6
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7
7
//
8
8
// ===----------------------------------------------------------------------===//
9
- // REQUIRES: gpu
9
+ // REQUIRES: gpu-intel-gen9
10
10
// UNSUPPORTED: gpu-intel-dg1,cuda,hip
11
11
// UNSUPPORTED: ze_debug-1,ze_debug4
12
12
// RUN: %clangxx -fsycl %s -o %t.out
Original file line number Diff line number Diff line change 6
6
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7
7
//
8
8
// ===----------------------------------------------------------------------===//
9
- // REQUIRES: gpu
9
+ // REQUIRES: gpu-intel-gen9
10
10
// UNSUPPORTED: gpu-intel-dg1,cuda,hip
11
11
// TODO: esimd_emulator fails due to unimplemented 'raw_send' intrinsic
12
12
// XFAIL: esimd_emulator
Original file line number Diff line number Diff line change @@ -163,6 +163,9 @@ unavailable.
163
163
* ** aot_tool** - Ahead-of-time compilation tools availability;
164
164
* ** ocloc** , ** opencl-aot** - Specific AOT tool availability;
165
165
* ** level_zero_dev_kit** - Level_Zero headers and libraries availability;
166
+ * ** gpu-intel-gen9** - Intel GPU Gen9 availability;
167
+ * ** gpu-intel-gen11** - Intel GPU Gen11 availability;
168
+ * ** gpu-intel-gen12** - Intel GPU Gen12 availability;
166
169
* ** gpu-intel-dg1** - Intel GPU DG1 availability;
167
170
* ** gpu-intel-dg2** - Intel GPU DG2 availability;
168
171
* ** gpu-intel-pvc** - Intel GPU PVC availability;
Original file line number Diff line number Diff line change 100
100
config .substitutions .append ( ('%obj_ext' , '.o' ) )
101
101
config .substitutions .append ( ('%sycl_include' , config .sycl_include ) )
102
102
103
+ # Intel GPU FAMILY availability
104
+ if lit_config .params .get ('gpu-intel-gen9' , False ):
105
+ config .available_features .add ('gpu-intel-gen9' )
106
+ if lit_config .params .get ('gpu-intel-gen11' , False ):
107
+ config .available_features .add ('gpu-intel-gen11' )
108
+ if lit_config .params .get ('gpu-intel-gen12' , False ):
109
+ config .available_features .add ('gpu-intel-gen12' )
110
+
111
+ # Intel GPU DEVICE availability
103
112
if lit_config .params .get ('gpu-intel-dg1' , False ):
104
113
config .available_features .add ('gpu-intel-dg1' )
105
-
106
114
if lit_config .params .get ('gpu-intel-dg2' , False ):
107
115
config .available_features .add ('gpu-intel-dg2' )
108
-
109
116
if lit_config .params .get ('gpu-intel-pvc' , False ):
110
117
config .available_features .add ('gpu-intel-pvc' )
118
+ if lit_config .params .get ('gpu-intel-ats' , False ):
119
+ config .available_features .add ('gpu-intel-ats' )
111
120
112
121
if lit_config .params .get ('matrix' , False ):
113
122
config .available_features .add ('matrix' )
Original file line number Diff line number Diff line change @@ -641,6 +641,9 @@ sub do_run
641
641
if (gpu([' pvc' ])) {
642
642
$gpu_opts .= " -Dgpu-intel-pvc=1 " ;
643
643
}
644
+ if (gpu([' ats' ])) {
645
+ $gpu_opts .= " -Dgpu-intel-ats=1 " ;
646
+ }
644
647
645
648
# SYCL 2020 device aspects: https://www.khronos.org/registry/SYCL/specs/sycl-2020/html/sycl-2020.html#sec:device-aspects
646
649
# ASPECT
You can’t perform that action at this time.
0 commit comments