Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion SYCL/ESIMD/histogram_raw_send.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
// REQUIRES: gpu
// REQUIRES: gpu-intel-gen9, gpu
// UNSUPPORTED: gpu-intel-dg1,cuda,hip
// UNSUPPORTED: ze_debug-1,ze_debug4
// RUN: %clangxx -fsycl %s -o %t.out
Expand Down
2 changes: 1 addition & 1 deletion SYCL/ESIMD/vadd_raw_send.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
// REQUIRES: gpu
// REQUIRES: gpu-intel-gen9, gpu
// UNSUPPORTED: gpu-intel-dg1,cuda,hip
// TODO: esimd_emulator fails due to unimplemented 'raw_send' intrinsic
// XFAIL: esimd_emulator
Expand Down
3 changes: 3 additions & 0 deletions SYCL/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,9 @@ unavailable.
* **aot_tool** - Ahead-of-time compilation tools availability;
* **ocloc**, **opencl-aot** - Specific AOT tool availability;
* **level_zero_dev_kit** - Level_Zero headers and libraries availability;
* **gpu-intel-gen9** - Intel GPU Gen9 availability;
* **gpu-intel-gen11** - Intel GPU Gen11 availability;
* **gpu-intel-gen12** - Intel GPU Gen12 availability;
* **gpu-intel-dg1** - Intel GPU DG1 availability;
* **gpu-intel-dg2** - Intel GPU DG2 availability;
* **gpu-intel-pvc** - Intel GPU PVC availability;
Expand Down
11 changes: 9 additions & 2 deletions SYCL/lit.cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,19 @@
config.substitutions.append( ('%obj_ext', '.o') )
config.substitutions.append( ('%sycl_include', config.sycl_include ) )

# Intel GPU FAMILY availability
if lit_config.params.get('gpu-intel-gen9', False):
config.available_features.add('gpu-intel-gen9')
if lit_config.params.get('gpu-intel-gen11', False):
config.available_features.add('gpu-intel-gen11')
if lit_config.params.get('gpu-intel-gen12', False):
config.available_features.add('gpu-intel-gen12')

# Intel GPU DEVICE availability
if lit_config.params.get('gpu-intel-dg1', False):
config.available_features.add('gpu-intel-dg1')

if lit_config.params.get('gpu-intel-dg2', False):
config.available_features.add('gpu-intel-dg2')

if lit_config.params.get('gpu-intel-pvc', False):
config.available_features.add('gpu-intel-pvc')

Expand Down