================
@@ -9768,6 +9770,13 @@ void OffloadPackager::ConstructJob(Compilation &C, const 
JobAction &JA,
         "kind=" + Kind.str(),
     };
 
+    // Add one "code=" per Intel GPU requested for this IGCA target.
+    // llvm-offload-binary joins them, so the image gets
+    // "code=xe-mtl-h,xe-mtl-u".
+    if (OffloadAction->getOffloadingDeviceKind() == Action::OFK_SYCL)
----------------
sarnex wrote:

have we decided to limit the IGCA work only to SYCL? I was expecting it to be 
offload-language independent? are we are only starting with SYCL but will 
generalize later?

https://github.com/llvm/llvm-project/pull/239010
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to