Skip to content

Commit 3f2b2dd

Browse files
authored
[SYCL][CPU] Add ext_oneapi_ballot_group aspect to spir64_x86_64 target (#15165)
The aspect is supported since [OpenCL CPU 2024.2](https://github.com/intel/llvm/releases/download/2024-WW25/oclcpuexp-2024.18.6.0.02_rel.tar.gz)
1 parent c8ebd92 commit 3f2b2dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/include/llvm/SYCLLowerIR/DeviceConfigFile.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def : TargetInfo<"__TestDeprecatedAspectList",
157157

158158
def : TargetInfo<"spir64", [], [], "", "", 1>;
159159
def : TargetInfo<"spir64_gen", [], [], "", "", 1>;
160-
def : TargetInfo<"spir64_x86_64", [AspectFp16, AspectFp64, AspectAtomic64], [4, 8, 16, 32, 64], "", "", 1>;
160+
def : TargetInfo<"spir64_x86_64", [AspectFp16, AspectFp64, AspectAtomic64, AspectExt_oneapi_ballot_group], [4, 8, 16, 32, 64], "", "", 1>;
161161
def : TargetInfo<"spir64_fpga", [], [], "", "", 1>;
162162
def : TargetInfo<"x86_64", [], [], "", "", 1>;
163163
// Examples of how to use a combination of explicitly specified values + predefined lists

sycl/test-e2e/NonUniformGroups/ballot_group_algorithms.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: %{build} -o %t.out
22
// RUN: %{run} %t.out
33
//
4-
// REQUIRES: gpu
4+
// REQUIRES: cpu, gpu
55
// REQUIRES: sg-32
66
// REQUIRES: aspect-ext_oneapi_ballot_group
77

0 commit comments

Comments
 (0)