[llvm] [Offload] Introduce ATTACH map-type support for pointer attachment. (PR #149036)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 11 04:30:47 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,
----------------
arsenm wrote:
No, the actual message after the prefix should also be lowercase
https://github.com/llvm/llvm-project/pull/149036
More information about the llvm-commits
mailing list