[Openmp-commits] [PATCH] D143196: [Libomptarget] Do not build the GPU plugins if we have no device library

Joseph Huber via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Feb 2 19:30:05 PST 2023


jhuber6 added a comment.

In D143196#4101531 <https://reviews.llvm.org/D143196#4101531>, @tianshilei1992 wrote:

> I don't understand why a host library depends on a device library?

Well, I guess it's possible to use OpenMP without the device runtime. We could potentially just keep them completely separate. My guess is that whoever wrote the code first didn't know how to make the dependency build so they put it on the plugins.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D143196



More information about the Openmp-commits mailing list