[Openmp-commits] [PATCH] D131089: [Libomptarget] Explicitly init / deinit libomptarget from the user
Jon Chesterfield via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Fri Jan 20 08:53:32 PST 2023
JonChesterfield added inline comments.
================
Comment at: openmp/libomptarget/include/device.h:544
+ /// Reference count for the libomptarget plugin.
+ std::atomic<uint32_t> RefCount;
};
----------------
Lets mark the refcount private, it'll draw attention in code review if something other than init/deinit wants to branch on it
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131089/new/
https://reviews.llvm.org/D131089
More information about the Openmp-commits
mailing list