[PATCH] D97680: [OpenMP] Simplify GPU memory globalization

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 2 08:13:03 PST 2021


jdoerfert added inline comments.


================
Comment at: openmp/libomptarget/deviceRTLs/common/src/data_sharing.cu:34
+EXTERN void *__kmpc_alloc_shared(size_t DataSize) {
+  return (void *)SafeMalloc(DataSize, "Alloc Shared");
 }
----------------
Add a TODO:
1) Use a small shared buffer
2) emit a user note that results in a INFO message once we have the communication capability.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D97680/new/

https://reviews.llvm.org/D97680



More information about the llvm-commits mailing list