[llvm] [Offload] Introduce ATTACH map-type support for pointer attachment. (PR #149036)
Abhinav Gaba via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 1 05:09: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:
This currently aligns with the casing of messages like line 2226, 1981 etc. Is lower-case the new style going forward? @adurang, FYI.
https://github.com/llvm/llvm-project/pull/149036
More information about the llvm-commits
mailing list