[Openmp-commits] [openmp] [Libomptarget] Remove requires information from plugin (PR #80345)

via Openmp-commits openmp-commits at lists.llvm.org
Thu Feb 1 13:47:29 PST 2024


carlobertolli wrote:

I need to look more carefully at the patch, but automatic zero copy decision is taken in the amdgpu plugin if the program did not have 'requires unified_shared_memory'. If you remove that information from the plugin how can it know that automatic zero-copy needs to be turned on?
At the same time, runtime decision on zero-copy for amdgpu's is based on the machine being an APU, and that is a vendor specific information that cannot be moved to libomptarget.

https://github.com/llvm/llvm-project/pull/80345


More information about the Openmp-commits mailing list