================
@@ -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)
----------------
srividya-sundaram wrote:

Done in https://github.com/llvm/llvm-project/pull/239010/commits/9db3349ad05c

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