[Openmp-commits] [PATCH] D100774: [OpenMP] Add function for setting LIBOMPTARGET_INFO at runtime

Joseph Huber via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Apr 19 09:43:07 PDT 2021


jhuber6 created this revision.
jhuber6 added a reviewer: jdoerfert.
jhuber6 added a project: OpenMP.
Herald added subscribers: jfb, guansong, yaxunl.
jhuber6 requested review of this revision.
Herald added subscribers: openmp-commits, sstefan1.

This patch adds a new runtime function `__tgt_set_info_flag` that allows the
user to set the information level at runtime without using the environment
variable. Using this will require an extern function, but will eventually be
added into an auxilliary library for OpenMP support functions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D100774

Files:
  openmp/libomptarget/include/Debug.h
  openmp/libomptarget/include/omptarget.h
  openmp/libomptarget/src/exports
  openmp/libomptarget/src/interface.cpp
  openmp/libomptarget/test/offloading/info.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100774.338545.patch
Type: text/x-patch
Size: 6364 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210419/df2c3871/attachment.bin>


More information about the Openmp-commits mailing list