[Openmp-commits] [PATCH] D96998: [OPENMP][AMDGCN] Improvements to print_kernel_trace (bit mask)

Ron Lieberman via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Feb 18 14:28:07 PST 2021

ronlieb created this revision.
ronlieb added reviewers: JonChesterfield, pdhaliwal, saiislam.
Herald added subscribers: kerbowa, guansong, yaxunl, nhaehnle, jvesely.
ronlieb requested review of this revision.
Herald added a project: OpenMP.
Herald added a subscriber: openmp-commits.

  allow bit masking to select various trace features.
    bit 0 => Launch tracing           (stderr)
    bit 1 => timing of runtime        (stdout)
    bit 2 => detailed launch tracing  (stderr)
    bit 3 => timing goes to stdout instead of stderr
    example: LIBOMPTARGET_KERNEL_TRACE=7     does it all
             LIBOMPTARGET_KERNEL_TRACE=5     Launch + details
             LIBOMPTARGET_KERNEL_TRACE=2     timings + launch to stderr
             LIBOMPTARGET_KERNEL_TRACE=10    timings + launch to stdout

  rG LLVM Github Monorepo



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96998.324776.patch
Type: text/x-patch
Size: 4604 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210218/7b13a460/attachment.bin>

More information about the Openmp-commits mailing list