[all-commits] [llvm/llvm-project] 20f5bc: [OpenMP] Add OpenMP extension API to dump mapping ...

nicebert via All-commits all-commits at lists.llvm.org
Mon Mar 18 12:09:42 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 20f5bcfb1a3b58c430a5df6dd837b30c22a2b788
      https://github.com/llvm/llvm-project/commit/20f5bcfb1a3b58c430a5df6dd837b30c22a2b788
  Author: nicebert <110385235+nicebert at users.noreply.github.com>
  Date:   2024-03-18 (Mon, 18 Mar 2024)

  Changed paths:
    M openmp/libomptarget/include/OpenMP/Mapping.h
    M openmp/libomptarget/include/Shared/Debug.h
    M openmp/libomptarget/include/omptarget.h
    M openmp/libomptarget/src/OpenMP/API.cpp
    M openmp/libomptarget/src/OpenMP/Mapping.cpp
    M openmp/libomptarget/src/exports
    A openmp/libomptarget/test/api/ompx_dump_mapping_tables.cpp
    M openmp/runtime/src/include/omp.h.var

  Log Message:
  -----------
  [OpenMP] Add OpenMP extension API to dump mapping tables (#85381)

This adds an API call ompx_dump_mapping_tables.
This allows users to debug the mapping tables and can be especially
useful for unified shared memory applications to check if the code
behaves in the way it should. The implementation reuses code already
present to dump mapping tables (in a debug setting).

---------

Co-authored-by: Joseph Huber <huberjn at outlook.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list