[Openmp-commits] [PATCH] D101102: [OpenMP] Replace global InfoLevel with a reference to an internal one.

Joseph Huber via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Apr 22 14:09:47 PDT 2021


jhuber6 added a comment.

In D101102#2710134 <https://reviews.llvm.org/D101102#2710134>, @JonChesterfield wrote:

> LGTM, thanks.
>
> Is there anything special about the cuda plugin here? I see it's the only one with an implementation of __tgt_rtl_set_info_flag, but wasn't following along closely enough to see what that's used for.

The purpose of the function is so the host can set the info level in the plugin, since they're separate libraries. I only implemented it for cuda because it's the only one that uses `InfoLevel` right now and it's optional.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101102



More information about the Openmp-commits mailing list