Skip to content

Commit b6c9bd0

Browse files
authored
[SYCL] Update DeviceConfigFile.td (#19265)
Add intel_cpu_spr There is a test already, but we don't launch SPR&CPU. Tested locally.
1 parent 94b20ff commit b6c9bd0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/include/llvm/SYCLLowerIR/DeviceConfigFile.td

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ def : TargetInfo<"spir64_gen", [], [], "", "", 1>;
189189
def : TargetInfo<"spir64_x86_64", IntelCpuAspects, [4, 8, 16, 32, 64], "", "", 1>;
190190
def : TargetInfo<"spir64_fpga", [], [], "", "", 1>;
191191
def : TargetInfo<"x86_64", IntelCpuAspects, [4, 8, 16, 32, 64], "", "", 1>;
192+
def : TargetInfo<"intel_cpu_spr", IntelCpuAspects, [4, 8, 16, 32, 64], "", "", 1>;
192193
// Examples of how to use a combination of explicitly specified values + predefined lists
193194
//defvar AspectList = [AspectCpu] # AllUSMAspects;
194195
//def : TargetInfo<"Test", AspectList, []>;

0 commit comments

Comments
 (0)