[llvm] [Offload] Introduce ATTACH map-type support for pointer attachment. (PR #149036)

Abhinav Gaba via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 11 04:13:10 PDT 2025


================
@@ -2231,3 +2231,15 @@ int32_t GenericPluginTy::get_function(__tgt_device_binary Binary,
   *KernelPtr = &Kernel;
   return OFFLOAD_SUCCESS;
 }
+
+int32_t GenericPluginTy::data_fence(int32_t DeviceId,
+                                    __tgt_async_info *AsyncInfo) {
+  auto Err = getDevice(DeviceId).dataFence(AsyncInfo);
+  if (Err) {
+    REPORT("Failure to place data fence on device %d: %s\n", DeviceId,
----------------
abhinavgaba wrote:

Do you still think that the message should start with a lowercase letter?

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


More information about the llvm-commits mailing list