[Openmp-commits] [openmp] [OpenMP][libomptarget] Enable lazy device initialization (PR #76832)
Gheorghe-Teodor Bercea via Openmp-commits
openmp-commits at lists.llvm.org
Thu Jan 4 07:52:31 PST 2024
doru1004 wrote:
> > Whether we can reproduce upstream or not I think we should allow for the user to choose which way the device initialization happens eager or lazy. As a side effect it will provide a resolution to the issue hence the link to the issue.
>
> Could you clarify why we would carry more code to give the user this choice if upstream does not experience the same issue?
It's not about the amount of code (which is minimal) it's about providing a choice. There's no clear choice between the two strategies so we need to provide both. Moreover we would find this addition useful so even more reason to add it.
https://github.com/llvm/llvm-project/pull/76832
More information about the Openmp-commits
mailing list