[llvm] [offload] support arbitrary memoryFill pattern sizes in L0 plugin (PR #209724)

Alex Duran via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 15 04:04:17 PDT 2026


================
@@ -202,7 +200,12 @@ Error L0DeviceTy::initImpl(GenericPluginTy &Plugin) {
     uid += std::to_string(DeviceProperties.uuid.id[n]);
   DeviceUuid = std::move(uid);
 
-  ComputeOrdinal = findComputeOrdinal();
+  auto ComputeGroupInfoOpt = findCommandQueueGroup();
+  if (not ComputeGroupInfoOpt)
+    return Plugin::error(ErrorCode::UNSUPPORTED,
----------------
adurang wrote:

Please move this error creation to the findCommandQueueGroup when using Expected.

https://github.com/llvm/llvm-project/pull/209724


More information about the llvm-commits mailing list