[Openmp-commits] [openmp] [OpenMP][libomptarget][RFC] extend libomptarget with mechanism to execute fill memory on the target (PR #73801)

Johannes Doerfert via Openmp-commits openmp-commits at lists.llvm.org
Wed Nov 29 08:55:36 PST 2023

@@ -267,6 +268,14 @@ struct GenELF64DeviceTy : public GenericDeviceTy {
     return Plugin::error("dataExchangeImpl not supported");
+  /// Fill memory on the target device (aka memset).
+  Error fillMemoryImpl(void *Ptr, int32_t Val, uint64_t NumValues,
+                       AsyncInfoWrapperTy &AsyncInfoWrapperTy) override {
jdoerfert wrote:

Don't use the same name as the type, that leads to all sorts of confusion.


More information about the Openmp-commits mailing list