[llvm] WIP: [Offload] Implement olMemFill (PR #154102)

Ross Brunton via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 18 06:22:16 PDT 2025


================
@@ -302,6 +302,12 @@ struct GenELF64DeviceTy : public GenericDeviceTy {
     return Plugin::success();
   }
 
+  Error dataFillImpl(void *TgtPtr, const void *PatternPtr, int64_t PatternSize,
+                     int64_t Size,
+                     AsyncInfoWrapperTy &AsyncInfoWrapper) override {
+    return Plugin::error(ErrorCode::UNSUPPORTED, "dataFillImpl not supported");
----------------
RossBrunton wrote:

The host device supports memcpy, so I think it makes sense for the host device to support this.

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


More information about the llvm-commits mailing list