Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit 5393753

Browse files
committed
add GPU FAMILY to available features and specify ESIMD raw send tests to gpu-intel-gen9
1 parent 77d2f5d commit 5393753

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

SYCL/ESIMD/histogram_raw_send.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
77
//
88
//===----------------------------------------------------------------------===//
9-
// REQUIRES: gpu
9+
// REQUIRES: gpu-intel-gen9, gpu
1010
// UNSUPPORTED: gpu-intel-dg1,cuda,hip
1111
// UNSUPPORTED: ze_debug-1,ze_debug4
1212
// RUN: %clangxx -fsycl %s -o %t.out

SYCL/ESIMD/vadd_raw_send.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
77
//
88
//===----------------------------------------------------------------------===//
9-
// REQUIRES: gpu
9+
// REQUIRES: gpu-intel-gen9, gpu
1010
// UNSUPPORTED: gpu-intel-dg1,cuda,hip
1111
// TODO: esimd_emulator fails due to unimplemented 'raw_send' intrinsic
1212
// XFAIL: esimd_emulator

SYCL/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,9 @@ unavailable.
163163
* **aot_tool** - Ahead-of-time compilation tools availability;
164164
* **ocloc**, **opencl-aot** - Specific AOT tool availability;
165165
* **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;
166169
* **gpu-intel-dg1** - Intel GPU DG1 availability;
167170
* **gpu-intel-dg2** - Intel GPU DG2 availability;
168171
* **gpu-intel-pvc** - Intel GPU PVC availability;

SYCL/lit.cfg.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,14 @@
100100
config.substitutions.append( ('%obj_ext', '.o') )
101101
config.substitutions.append( ('%sycl_include', config.sycl_include ) )
102102

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+
103111
# Intel GPU DEVICE availability
104112
if lit_config.params.get('gpu-intel-dg1', False):
105113
config.available_features.add('gpu-intel-dg1')

0 commit comments

Comments
 (0)