[Openmp-commits] [openmp] [OpenMP][libomptarget] Enable automatic unified shared memory executi… (PR #75999)

via Openmp-commits openmp-commits at lists.llvm.org
Wed Dec 20 07:36:18 PST 2023

@@ -190,6 +190,11 @@ struct PluginManager {
   /// Add \p Flags to the user provided requirements.
   void addRequirements(int64_t Flags) { Requirements.addRequirements(Flags); }
+  bool getUseAutoZeroCopy() const { return UseAutoZeroCopy; }
carlobertolli wrote:

zero-copy (or no-copy) is what is commonly called the support to requires unified_shared_memory. In that case, the user explicitly asks for the support, as opposed to the proposed support which turns on "automatically" if the system is an APU and XNACK (unified memory) support is enabled. 


More information about the Openmp-commits mailing list