[Openmp-commits] [PATCH] D97908: [OpenMP] Encapsulate more in checkDeviceAndCtors

Joel E. Denny via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Mar 3 19:55:23 PST 2021

jdenny created this revision.
jdenny added reviewers: grokos, RaviNarayanaswamy, jdoerfert.
Herald added subscribers: guansong, yaxunl.
jdenny requested review of this revision.
Herald added a subscriber: sstefan1.
Herald added a project: OpenMP.

This patch just encapsulates some repeated code.  To do so, it
relocates some functions from interface.cpp to omptarget.cpp.  It also
adjusts them to the LLVM coding style.

This patch is almost NFC except some `DP` messages are a bit 
different.  For example, messages like "Entering target region" are 
now emitted even if offload is disabled, but a subsequent "Offload is
disabled" is then emitted.

  rG LLVM Github Monorepo



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97908.328000.patch
Type: text/x-patch
Size: 16527 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210304/84fe39b3/attachment.bin>

More information about the Openmp-commits mailing list