[all-commits] [llvm/llvm-project] fda485: [OpenMP] Fix seg fault in libomptarget when using ...

Joseph Huber via All-commits all-commits at lists.llvm.org
Mon Feb 1 08:22:43 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fda48539988d2a1bdb6395799151e9090312a20b
      https://github.com/llvm/llvm-project/commit/fda48539988d2a1bdb6395799151e9090312a20b
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M openmp/libomptarget/src/interface.cpp
    M openmp/libomptarget/src/private.h

  Log Message:
  -----------
  [OpenMP] Fix seg fault in libomptarget when using Info with multiple threads

Summary:
One option for the LIBOMPTARGET_INFO environment variable is to print the current status of the device's data mappings. These are a shared resource among threads so this needs to be protected when using multiple streams.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D95786




More information about the All-commits mailing list