[clang] [llvm] [TargetParser][clang] Parse and store Intel IGCA virtual architecture as an OffloadArch (PR #227468)
Nikita Kornev via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 6 03:55:06 PDT 2026
================
@@ -92,5 +102,20 @@ INTEL_GPU_COMPAT("xe-bmg", XE_BMG, 40, Render)
INTEL_GPU_COMPAT("xe-mtl", XE_MTL, 30, Render)
INTEL_GPU_COMPAT("xe-dg2", XE_DG2, 15, RenderExact)
+// IGCA target levels. Only targets defined here are valid.
+#ifndef INTEL_IGCA_TARGET
----------------
KornevNikita wrote:
> https://github.com/ianayl/llvm-project/compare/sycl/IGCA/offload-store-igca...ianayl:llvm-project:sycl/IGCA/offload-igca-test?expand=1
I'm fine with this solution, I prefer more code rather than two tables. Anyways, I'd like to hear from @tahonermann and @srividya-sundaram.
https://github.com/llvm/llvm-project/pull/227468
More information about the cfe-commits
mailing list