Skip to content

Commit f0d67d4

Browse files
authored
[SYCL] Add intel_cpu_gnr to device config file (intel#22056)
Update DeviceConfigFile.td to fix the test issue when no aspect for intel_cpu_gnr are found in the device config file.
1 parent d008267 commit f0d67d4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

llvm/include/llvm/SYCLLowerIR/DeviceConfigFile.td

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ def : TargetInfo<"spir64_gen", [], [], "", "", 1>;
215215
def : TargetInfo<"spir64_x86_64", IntelCpuAspects, [4, 8, 16, 32, 64], "", "", 1>;
216216
def : TargetInfo<"x86_64", IntelCpuAspects, [4, 8, 16, 32, 64], "", "", 1>;
217217
def : TargetInfo<"intel_cpu_spr", IntelCpuAspects, [4, 8, 16, 32, 64], "", "", 1>;
218+
def : TargetInfo<"intel_cpu_gnr", IntelCpuAspects, [4, 8, 16, 32, 64], "", "", 1>;
218219
// Examples of how to use a combination of explicitly specified values + predefined lists
219220
//defvar AspectList = [AspectCpu] # AllUSMAspects;
220221
//def : TargetInfo<"Test", AspectList, []>;

0 commit comments

Comments
 (0)